|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.File
org.jboss.soa.esb.listeners.old.DirectoryPoller.WorkingFile
public static class DirectoryPoller.WorkingFile
Working file.
Once the directory poller picks up on an input file, it immediately renames it to a working file in order to avoid a situation where the file gets processed again.
| Field Summary |
|---|
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
DirectoryPoller.WorkingFile(java.io.File parentFile,
java.lang.String filename)
|
|
DirectoryPoller.WorkingFile(java.lang.String filename)
|
|
| Method Summary | |
|---|---|
java.io.File |
getInputFile()
Get the File instance representing the original input file. |
boolean |
isPostDelete()
|
boolean |
renameToError()
|
boolean |
renameToOutputFile()
|
| Methods inherited from class java.io.File |
|---|
canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryPoller.WorkingFile(java.lang.String filename)
public DirectoryPoller.WorkingFile(java.io.File parentFile,
java.lang.String filename)
| Method Detail |
|---|
public boolean isPostDelete()
public boolean renameToError()
public boolean renameToOutputFile()
public java.io.File getInputFile()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||