|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The protocol interface represents the protocol used to get information from the source like the tcp,ftp,http,... protocols
| Field Summary | |
static java.lang.String |
FTP
The protocol use to get and put file by FTP |
static java.lang.String |
WIN_FILE
The protocol use to get and put file on a Windows network |
| Method Summary | |
void |
clean(java.lang.String fileName)
Clean files (rename or remove) if necessary after the synchronisation done. |
java.lang.String |
getFolder()
Get the folder use by the protocol to get and put files |
java.lang.String |
getName()
Get the name of the protocol |
java.lang.String[] |
getViews(java.lang.String fileName)
Get the content of files fileName |
void |
init()
|
void |
putView(java.lang.String fileContent,
java.lang.String fileName)
Put the fileContent in the file fileName int
the folder directory |
| Field Detail |
public static final java.lang.String WIN_FILE
public static final java.lang.String FTP
| Method Detail |
public java.lang.String getName()
public java.lang.String getFolder()
public void putView(java.lang.String fileContent,
java.lang.String fileName)
throws OpenSyncException,
java.io.IOException
fileContent in the file fileName int
the folder directory
fileContent - the file contentfileName - the file name
OpenSyncException
java.io.IOException
public java.lang.String[] getViews(java.lang.String fileName)
throws OpenSyncException,
java.io.IOException
fileName
fileName - the file name (may use *)
OpenSyncException
java.io.IOExceptionpublic void init()
OpenSyncException
java.io.IOException
public void clean(java.lang.String fileName)
throws OpenSyncException,
java.io.IOException
fileName - the file name to clean
OpenSyncException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||