|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.SmpFileSystemConfigBuilder
public final class SmpFileSystemConfigBuilder
| Method Summary | |
|---|---|
protected Class<? extends org.apache.commons.vfs2.FileSystem> |
getConfigClass()
|
String |
getControlEncoding(org.apache.commons.vfs2.FileSystemOptions opts)
|
Integer |
getDataTimeout(org.apache.commons.vfs2.FileSystemOptions opts)
|
String |
getDefaultDateFormat(org.apache.commons.vfs2.FileSystemOptions opts)
get the language code used by the server. |
static SmpFileSystemConfigBuilder |
getInstance()
|
Boolean |
getPassiveMode(org.apache.commons.vfs2.FileSystemOptions opts)
|
String |
getRecentDateFormat(org.apache.commons.vfs2.FileSystemOptions opts)
see org.apache.commons.net.ftp.FTPClientConfig for details and examples. |
String |
getServerLanguageCode(org.apache.commons.vfs2.FileSystemOptions opts)
get the language code used by the server. |
String |
getServerTimeZoneId(org.apache.commons.vfs2.FileSystemOptions opts)
see org.apache.commons.net.ftp.FTPClientConfig for details and examples. |
String[] |
getShortMonthNames(org.apache.commons.vfs2.FileSystemOptions opts)
see org.apache.commons.net.ftp.FTPClientConfig for details and examples. |
Integer |
getSoTimeout(org.apache.commons.vfs2.FileSystemOptions opts)
|
Boolean |
getUserDirIsRoot(org.apache.commons.vfs2.FileSystemOptions opts)
|
void |
setControlEncoding(org.apache.commons.vfs2.FileSystemOptions opts,
String encoding)
see org.apache.commons.net.ftp.FTP#setControlEncoding for details and examples. |
void |
setDataTimeout(org.apache.commons.vfs2.FileSystemOptions opts,
Integer dataTimeout)
set the data timeout for the ftp client. If you set the dataTimeout to null no dataTimeout will be set on the
ftp client. |
void |
setDefaultDateFormat(org.apache.commons.vfs2.FileSystemOptions opts,
String defaultDateFormat)
set the language code used by the server. |
void |
setPassiveMode(org.apache.commons.vfs2.FileSystemOptions opts,
boolean passiveMode)
enter into passive mode. |
void |
setRecentDateFormat(org.apache.commons.vfs2.FileSystemOptions opts,
String recentDateFormat)
see org.apache.commons.net.ftp.FTPClientConfig for details and examples. |
void |
setServerLanguageCode(org.apache.commons.vfs2.FileSystemOptions opts,
String serverLanguageCode)
set the language code used by the server. |
void |
setServerTimeZoneId(org.apache.commons.vfs2.FileSystemOptions opts,
String serverTimeZoneId)
see org.apache.commons.net.ftp.FTPClientConfig for details and examples. |
void |
setShortMonthNames(org.apache.commons.vfs2.FileSystemOptions opts,
String[] shortMonthNames)
see org.apache.commons.net.ftp.FTPClientConfig for details and examples. |
void |
setSoTimeout(org.apache.commons.vfs2.FileSystemOptions opts,
Integer soTimeout)
set the socket timeout for the ftp client. If you set the socketTimeout to null no socketTimeout will be set on the
ftp client. |
void |
setUserDirIsRoot(org.apache.commons.vfs2.FileSystemOptions opts,
boolean userDirIsRoot)
use user directory as root (do not change to fs root). |
| Methods inherited from class org.apache.commons.vfs2.FileSystemConfigBuilder |
|---|
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setRootURI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SmpFileSystemConfigBuilder getInstance()
protected Class<? extends org.apache.commons.vfs2.FileSystem> getConfigClass()
getConfigClass in class org.apache.commons.vfs2.FileSystemConfigBuilder
public void setPassiveMode(org.apache.commons.vfs2.FileSystemOptions opts,
boolean passiveMode)
opts - The FileSystemOptions.passiveMode - true if passive mode should be used.public Boolean getPassiveMode(org.apache.commons.vfs2.FileSystemOptions opts)
opts - The FileSystemOptions.
setPassiveMode(org.apache.commons.vfs2.FileSystemOptions, boolean)
public void setUserDirIsRoot(org.apache.commons.vfs2.FileSystemOptions opts,
boolean userDirIsRoot)
opts - The FileSystemOptions.userDirIsRoot - true if the user directory should be treated as the root.public Boolean getUserDirIsRoot(org.apache.commons.vfs2.FileSystemOptions opts)
opts - The FileSystemOptions.
setUserDirIsRoot(org.apache.commons.vfs2.FileSystemOptions, boolean)public Integer getDataTimeout(org.apache.commons.vfs2.FileSystemOptions opts)
opts - The FileSystemOptions.
setDataTimeout(org.apache.commons.vfs2.FileSystemOptions, java.lang.Integer)
public void setDataTimeout(org.apache.commons.vfs2.FileSystemOptions opts,
Integer dataTimeout)
null no dataTimeout will be set on the
ftp client.
opts - The FileSystemOptions.dataTimeout - The timeout value.public Integer getSoTimeout(org.apache.commons.vfs2.FileSystemOptions opts)
opts - The FileSystem options.
getDataTimeout(org.apache.commons.vfs2.FileSystemOptions)
public void setSoTimeout(org.apache.commons.vfs2.FileSystemOptions opts,
Integer soTimeout)
null no socketTimeout will be set on the
ftp client.
opts - The FileSystem options.soTimeout - The timeout value.public String getServerLanguageCode(org.apache.commons.vfs2.FileSystemOptions opts)
org.apache.commons.net.ftp.FTPClientConfig
for details and examples.
opts - The FilesystemOptions.
public void setServerLanguageCode(org.apache.commons.vfs2.FileSystemOptions opts,
String serverLanguageCode)
org.apache.commons.net.ftp.FTPClientConfig
for details and examples.
opts - The FileSystemOptions.serverLanguageCode - The servers language code.public String getDefaultDateFormat(org.apache.commons.vfs2.FileSystemOptions opts)
org.apache.commons.net.ftp.FTPClientConfig
for details and examples.
opts - The FileSystemOptions
public void setDefaultDateFormat(org.apache.commons.vfs2.FileSystemOptions opts,
String defaultDateFormat)
org.apache.commons.net.ftp.FTPClientConfig
for details and examples.
opts - The FileSystemOptions.defaultDateFormat - The default date format.public String getRecentDateFormat(org.apache.commons.vfs2.FileSystemOptions opts)
org.apache.commons.net.ftp.FTPClientConfig for details and examples.
opts - The FileSystemOptions.
public void setRecentDateFormat(org.apache.commons.vfs2.FileSystemOptions opts,
String recentDateFormat)
org.apache.commons.net.ftp.FTPClientConfig for details and examples.
opts - The FileSystemOptions.recentDateFormat - The recent date format.public String getServerTimeZoneId(org.apache.commons.vfs2.FileSystemOptions opts)
org.apache.commons.net.ftp.FTPClientConfig for details and examples.
opts - The FileSystemOptions.
public void setServerTimeZoneId(org.apache.commons.vfs2.FileSystemOptions opts,
String serverTimeZoneId)
org.apache.commons.net.ftp.FTPClientConfig for details and examples.
opts - The FileSystemOptions.serverTimeZoneId - The server timezone id.public String[] getShortMonthNames(org.apache.commons.vfs2.FileSystemOptions opts)
org.apache.commons.net.ftp.FTPClientConfig for details and examples.
opts - The FileSystemOptions.
public void setShortMonthNames(org.apache.commons.vfs2.FileSystemOptions opts,
String[] shortMonthNames)
org.apache.commons.net.ftp.FTPClientConfig for details and examples.
opts - The FileSystemOptions.shortMonthNames - an array of short month name Strings.
public void setControlEncoding(org.apache.commons.vfs2.FileSystemOptions opts,
String encoding)
org.apache.commons.net.ftp.FTP#setControlEncoding for details and examples.
opts - The FileSystemOptions.encoding - the encoding to usepublic String getControlEncoding(org.apache.commons.vfs2.FileSystemOptions opts)
opts - The FileSystemOptions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||