|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDocument
public class Document
Wrapper around a File object.
Field Summary | |
---|---|
private java.util.Calendar |
c
Used for convenience. |
private java.io.File |
f
File represented by this Document object. |
Constructor Summary | |
---|---|
Document(java.io.File f)
Constructor for Document. |
Method Summary | |
---|---|
java.lang.String |
getAbsolutePath()
Return the absolute path of the File object. |
java.lang.String |
getName()
Return the name of the File object. |
long |
lastModified()
Return the last modified date of the File object. |
java.lang.String |
toString()
Return a string representation of this document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.io.File f
private java.util.Calendar c
Constructor Detail |
---|
public Document(java.io.File f)
f
- Method Detail |
---|
public long lastModified()
public java.lang.String getName()
public java.lang.String getAbsolutePath()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |