|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteFileSystemStrategy
A strategy for handling remote write operations.
Method Summary | |
---|---|
boolean |
deleteFile(java.io.File file)
|
void |
destroy()
Clean upp anything that needs to be perforemed upon destruction. |
java.io.File[] |
filterFileList(java.io.File[] files)
filters the file array passed in. |
java.io.File |
getWorkFileName(java.io.File file,
java.lang.String suffix)
|
void |
init(java.lang.String configFile)
Initialize this RemoteFileSystemStrategy |
boolean |
renameFile(java.io.File from,
java.io.File to)
|
void |
stop()
Stop of clean upp anything that needs to be perforemed upon shutdown. |
Method Detail |
---|
void init(java.lang.String configFile) throws RemoteFileSystemStrategyException
configFile
-
java.lang.Exception
RemoteFileSystemStrategyException
java.io.File[] filterFileList(java.io.File[] files) throws RemoteFileSystemStrategyException
GatewayException
RemoteFileSystemStrategyException
boolean deleteFile(java.io.File file) throws RemoteFileSystemStrategyException
file
- the file to delete
GatewayException
RemoteFileSystemStrategyException
boolean renameFile(java.io.File from, java.io.File to) throws RemoteFileSystemStrategyException
from
- the file to renameto
- the target file
GatewayException
RemoteFileSystemStrategyException
java.io.File getWorkFileName(java.io.File file, java.lang.String suffix)
file
- the current file the system is working onsuffix
- a suffix to append to the file.
void stop()
void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |