org.enhydra.snapper.business
Class DocumentStore
java.lang.Object
org.enhydra.snapper.business.DocumentStore
- public class DocumentStore
- extends java.lang.Object
Class is client for comunicate with file server(s) over net.
This class is used by application to retrive files
- Author:
- Milin Radivoj
Constructor Summary |
DocumentStore(java.lang.String currentUser,
java.lang.String path,
java.lang.String type,
java.lang.String host,
java.lang.String port,
java.lang.String login,
java.lang.String password,
java.lang.String tempFolder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCAL_STORE
public static final java.lang.String LOCAL_STORE
- See Also:
- Constant Field Values
FTP_STORE
public static final java.lang.String FTP_STORE
- See Also:
- Constant Field Values
UNC_STORE
public static final java.lang.String UNC_STORE
- See Also:
- Constant Field Values
WebDAV_STORE
public static final java.lang.String WebDAV_STORE
- See Also:
- Constant Field Values
DocumentStore
public DocumentStore(java.lang.String currentUser,
java.lang.String path,
java.lang.String type,
java.lang.String host,
java.lang.String port,
java.lang.String login,
java.lang.String password,
java.lang.String tempFolder)
throws java.lang.Exception
retrieveWebDAVFileNames
public void retrieveWebDAVFileNames()
throws java.lang.Exception
- Throws:
java.lang.Exception
getWebDAVFile
public java.io.File getWebDAVFile(java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception
closeWebDAV
public void closeWebDAV()
closeFTP
public void closeFTP()
retrieveUNCFiles
public java.io.File[] retrieveUNCFiles(java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
retrieveFTPFileNames
public void retrieveFTPFileNames()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFTPFile
public java.io.File getFTPFile(java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception
connect
public boolean connect()
getOriginalFiles
public java.util.Vector getOriginalFiles()
getTimeStamps
public java.util.Vector getTimeStamps()
getOwners
public java.util.Vector getOwners()
getCreation
public java.util.Vector getCreation()