public class FileSnapshot extends Object
The target file and substructure state is "frozen" and can be checked for changes.
| Constructor and Description |
|---|
FileSnapshot(File file) |
| Modifier and Type | Method and Description |
|---|---|
FileSnapshot[] |
getChildren() |
File |
getFile() |
long |
getFileLength() |
long |
getLastModified() |
boolean |
isAvailable()
true if the snapshot files are "available" for use by a reader/writer
(not locked by any other client).
|
boolean |
isChanged()
true if the snapshot has changed since the last inspection via
"isChanged"
|
boolean |
isLost() |
public FileSnapshot(File file)
public FileSnapshot[] getChildren()
public File getFile()
public long getFileLength()
public long getLastModified()
public boolean isAvailable()
public boolean isChanged()
public boolean isLost()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.