local.tomas.docsite.store
Class FTPStoreFactory
java.lang.Object
local.tomas.docsite.store.FTPStoreFactory
- All Implemented Interfaces:
- DocsiteSourceFactory, DocsiteTargetFactory
public class FTPStoreFactory
- extends java.lang.Object
- implements DocsiteTargetFactory, DocsiteSourceFactory
|
Field Summary |
static java.lang.String |
PREFIX
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
FTPStoreFactory
public FTPStoreFactory()
handlesUrl
public boolean handlesUrl(java.lang.String url)
- Specified by:
handlesUrl in interface DocsiteSourceFactory- Specified by:
handlesUrl in interface DocsiteTargetFactory
parse
public static FTPStore.Options parse(java.lang.String url,
char[] password)
formatURL
public static java.lang.String formatURL(FTPStore.Options options)
openTarget
public DocsiteTarget openTarget(java.lang.String url,
char[] password)
throws java.lang.Exception
- Specified by:
openTarget in interface DocsiteTargetFactory
- Throws:
java.lang.Exception
openSource
public DocsiteSource openSource(java.lang.String url,
char[] password)
throws java.lang.Exception
- Specified by:
openSource in interface DocsiteSourceFactory
- Throws:
java.lang.Exception
isPasswordRequired
public boolean isPasswordRequired(java.lang.String url)
- Specified by:
isPasswordRequired in interface DocsiteSourceFactory- Specified by:
isPasswordRequired in interface DocsiteTargetFactory
Copyright © 2007-2008 Tomas Teubner. All Rights Reserved.