public interface FileSystemResource
| Modifier and Type | Method and Description |
|---|---|
void |
checkpoint()
Sets a check-point for tracking when the resource has changed.
|
java.net.URL |
getLocation()
Returns the resource location.
|
java.lang.String |
getName()
Returns the resource name.
|
FileSystemResourceState |
getState()
Returns the current state of the resource.
|
long |
getTimestamp()
Returns the resource timestamp.
|
boolean |
isChanged()
Returns true if the resource was modified since the last time it was check-pointed.
|
void |
setState(FileSystemResourceState state)
Sets the current state of the resource.
|
java.lang.String getName()
java.net.URL getLocation()
long getTimestamp()
FileSystemResourceState getState()
void setState(FileSystemResourceState state)
state - the resource statevoid checkpoint()
boolean isChanged()