|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.vfs.PathExistsDependency
public class PathExistsDependency
Class for keeping track of modifications.
Constructor Summary | |
---|---|
PathExistsDependency(Path source)
Create a new dependency. |
|
PathExistsDependency(Path source,
boolean exists)
Create a new dependency with an already known modified time and length. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the test Dependency has the same source path as this dependency. |
Path |
getPath()
Returns the underlying source path. |
boolean |
isModified()
If the source modified date changes at all, treat it as a modification. |
boolean |
logModified(java.util.logging.Logger log)
Log the reason for the modification. |
java.lang.String |
toString()
Returns a printable version of the dependency. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PathExistsDependency(Path source)
source
- the source filepublic PathExistsDependency(Path source, boolean exists)
source
- the source fileMethod Detail |
---|
public Path getPath()
public boolean isModified()
isModified
in interface Dependency
public boolean logModified(java.util.logging.Logger log)
logModified
in interface Dependency
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
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 |