|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.File org.jboss.soa.esb.listeners.old.RemoteDirectoryPoller.WorkingFile
public static class RemoteDirectoryPoller.WorkingFile
Working file.
Once the remote directory poller picks up on an input file, it immediately tries to rename 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 |
Method Summary | |
---|---|
java.util.List<KeyValuePair> |
getFtpProps()
|
java.io.File |
getInputFile()
Get the File instance representing the original input file. |
boolean |
isPostDelete()
is this working file to be deleted after successful processing ? |
boolean |
localDelete()
|
boolean |
localRenameToError()
|
boolean |
localRenameToInput()
|
boolean |
localRenameToOutput()
|
void |
remoteDelete(FtpClientUtil util)
|
void |
remoteRenameToError(FtpClientUtil util)
|
void |
remoteRenameToInput(FtpClientUtil util)
|
void |
remoteRenameToOutput(FtpClientUtil util)
|
void |
setFtpProps(java.util.List<KeyValuePair> props)
|
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 |
Method Detail |
---|
public void setFtpProps(java.util.List<KeyValuePair> props)
public java.util.List<KeyValuePair> getFtpProps()
public java.io.File getInputFile()
public boolean isPostDelete()
public boolean localRenameToInput()
public void remoteRenameToInput(FtpClientUtil util) throws java.lang.Exception
java.lang.Exception
public boolean localRenameToError()
public void remoteRenameToError(FtpClientUtil util) throws java.lang.Exception
java.lang.Exception
public boolean localRenameToOutput()
public void remoteRenameToOutput(FtpClientUtil util) throws java.lang.Exception
java.lang.Exception
public boolean localDelete()
public void remoteDelete(FtpClientUtil util) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |