|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.handlers.filehandler.FileHandlerObservedObject
public class FileHandlerObservedObject
This class represents the transfered object through the Observer Notify Method It is an empty class that acts as a struct.
Nested Class Summary | |
---|---|
static class |
FileHandlerObservedObject.FileHandlerOperation
Enum representing the different operations that can be a done. |
Field Summary | |
---|---|
FileHandlerObservedObject.FileHandlerOperation |
fileHandlerOperation
represents the operation applied to the file. |
java.lang.String |
localFileName
Maintains local file name (path) |
java.lang.String |
remoteFileName
Maintains remote file name (path) |
Constructor Summary | |
---|---|
FileHandlerObservedObject(java.lang.String fileName,
FileHandlerObservedObject.FileHandlerOperation fileHandlerOperation,
boolean localOrRemote)
Constructor |
|
FileHandlerObservedObject(java.lang.String localFileName,
java.lang.String remoteFileName,
FileHandlerObservedObject.FileHandlerOperation fileHandlerOperation)
Constructor |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String localFileName
public java.lang.String remoteFileName
public FileHandlerObservedObject.FileHandlerOperation fileHandlerOperation
Constructor Detail |
---|
public FileHandlerObservedObject(java.lang.String localFileName, java.lang.String remoteFileName, FileHandlerObservedObject.FileHandlerOperation fileHandlerOperation)
localFileName
- local file nameremoteFileName
- remote file namefileHandlerOperation
- the applied operationpublic FileHandlerObservedObject(java.lang.String fileName, FileHandlerObservedObject.FileHandlerOperation fileHandlerOperation, boolean localOrRemote)
fileName
- file namefileHandlerOperation
- the applied operationlocalOrRemote
- indicates whether the mentioned file is local or remote, true if local false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |