|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.fs.local.HandleMonitor
This Class implements a very simple open handle monitor for the local file system. This is usefull, if the list of open handles, referenced by an open FileInputStream() should be tracked. This can cause problems on windows filesystems where open files cannot be deleted.
Constructor Summary | |
HandleMonitor()
|
Method Summary | |
void |
dump()
Dumps the contents of this monitor |
void |
dump(File file)
Dumps the information for a file |
boolean |
isOpen(File file)
Checks, if the file is open |
InputStream |
open(File file)
Opens a file and returns an InputStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HandleMonitor()
Method Detail |
public InputStream open(File file) throws FileNotFoundException
file
-
FileNotFoundException
public boolean isOpen(File file)
file
-
public void dump()
public void dump(File file)
file
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |