|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.structconf.util.FileUtil.FileInfo
Snapshot of a files information useful for comparing. Primarily used by #backup(java.io.File).
Field Summary | |
private long |
crc_
|
private File |
file_
|
private long |
lastModified_
|
Constructor Summary | |
FileUtil.FileInfo(File file,
long crc)
Create a new instance. |
|
FileUtil.FileInfo(File file,
long crc,
long last_modified)
Create a new instance. |
Method Summary | |
long |
getCrc()
The CRC of the file at the time that the file info class was created. |
File |
getFile()
Fhe file's Java file object. |
long |
getLastModified()
The last modified time (milliseconds since the epoch) of the file. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private File file_
private long crc_
private long lastModified_
Constructor Detail |
public FileUtil.FileInfo(File file, long crc)
public FileUtil.FileInfo(File file, long crc, long last_modified)
Method Detail |
public File getFile()
public long getCrc()
public long getLastModified()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |