Modifier and Type | Method and Description |
---|---|
FileSystemOptions |
FileSystem.getFileSystemOptions()
Returns the FileSystemOptions used to instantiate this filesystem.
|
Modifier and Type | Method and Description |
---|---|
int |
FileSystemOptions.compareTo(FileSystemOptions other) |
protected Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
String name) |
protected boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
String name,
boolean defaultValue) |
protected Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
String name,
Boolean defaultValue) |
protected Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
String name) |
protected byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
String name,
byte defaultValue) |
protected Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
String name,
Byte defaultValue) |
protected Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
String name) |
protected char |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
String name,
char defaultValue) |
protected Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
String name,
Character defaultValue) |
protected Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
String name) |
protected double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
String name,
double defaultValue) |
protected Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
String name,
Double defaultValue) |
protected Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
String name) |
protected float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
String name,
float defaultValue) |
protected Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
String name,
Float defaultValue) |
protected Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
String name) |
protected int |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
String name,
int defaultValue) |
protected Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
String name,
Integer defaultValue) |
protected Long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
String name) |
protected long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
String name,
long defaultValue) |
protected Long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
String name,
Long defaultValue) |
protected Object |
FileSystemConfigBuilder.getParam(FileSystemOptions opts,
String name) |
String |
FileSystemConfigBuilder.getRootURI(FileSystemOptions opts)
Return the root URI of the file system.
|
protected Short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
String name) |
protected short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
String name,
short defaultValue) |
protected Short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
String name,
Short defaultValue) |
protected String |
FileSystemConfigBuilder.getString(FileSystemOptions opts,
String name) |
protected String |
FileSystemConfigBuilder.getString(FileSystemOptions opts,
String name,
String defaultValue) |
protected boolean |
FileSystemConfigBuilder.hasObject(FileSystemOptions opts,
String name) |
protected boolean |
FileSystemConfigBuilder.hasParam(FileSystemOptions opts,
String name) |
FileObject |
FileSystemManager.resolveFile(String name,
FileSystemOptions fileSystemOptions)
Locates a file by name.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions opts,
String name,
Object value) |
void |
FileSystemConfigBuilder.setRootURI(FileSystemOptions opts,
String rootURI)
The root URI of the file system.
|
Modifier and Type | Method and Description |
---|---|
UserAuthenticator |
DefaultFileSystemConfigBuilder.getUserAuthenticator(FileSystemOptions opts) |
FileObject |
DefaultFileSystemManager.resolveFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Resolves a URI, realtive to a base file with specified FileSystem
configuration.
|
FileObject |
DefaultFileSystemManager.resolveFile(String uri,
FileSystemOptions fileSystemOptions)
Locate a file by URI, use the FileSystemOptions for file-system creation.
|
void |
DefaultFileSystemConfigBuilder.setUserAuthenticator(FileSystemOptions opts,
UserAuthenticator userAuthenticator)
Sets the user authenticator to get authentication informations.
|
Constructor and Description |
---|
VirtualFileSystem(AbstractFileName rootName,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
FileSystemOptions |
AbstractFileSystem.getFileSystemOptions()
Return the FileSystemOptions used to instantiate this filesystem.
|
Modifier and Type | Method and Description |
---|---|
FileObject |
AbstractLayeredFileProvider.createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
FileObject |
AbstractFileProvider.createFileSystem(String scheme,
FileObject file,
FileSystemOptions properties)
Creates a layered file system.
|
FileObject |
FileProvider.createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
protected abstract FileSystem |
AbstractOriginatingFileProvider.doCreateFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem . |
protected abstract FileSystem |
AbstractLayeredFileProvider.doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
protected FileObject |
AbstractOriginatingFileProvider.findFile(FileName name,
FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI.
|
FileObject |
AbstractLayeredFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions properties)
Locates a file object, by absolute URI.
|
FileObject |
FileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
FileObject |
CompositeFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
FileObject |
AbstractOriginatingFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
protected FileSystem |
AbstractFileProvider.findFileSystem(Comparable<?> key,
FileSystemOptions fileSystemProps)
Locates a cached file system
|
protected FileSystem |
AbstractOriginatingFileProvider.getFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
Returns the FileSystem associated with the specified root.
|
FileObject |
VfsComponentContext.resolveFile(FileObject baseFile,
String name,
FileSystemOptions fileSystemOptions)
Locate a file by name.
|
FileObject |
VfsComponentContext.resolveFile(String name,
FileSystemOptions fileSystemOptions)
Locate a file by name.
|
Constructor and Description |
---|
AbstractFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
DefaultURLStreamHandler(VfsComponentContext context,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
Bzip2FileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
Constructor and Description |
---|
Bzip2FileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected abstract FileSystem |
CompressedFileFileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
protected FileSystem |
CompressedFileFileProvider.doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
Constructor and Description |
---|
CompressedFileFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.net.ftp.FTPClient |
FtpClientFactory.createConnection(String hostname,
int port,
char[] username,
char[] password,
String workingDirectory,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
protected FileSystem |
FtpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the filesystem.
|
String |
FtpFileSystemConfigBuilder.getControlEncoding(FileSystemOptions opts) |
Integer |
FtpFileSystemConfigBuilder.getDataTimeout(FileSystemOptions opts) |
String |
FtpFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions opts)
get the language code used by the server.
|
String |
FtpFileSystemConfigBuilder.getEntryParser(FileSystemOptions opts) |
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory |
FtpFileSystemConfigBuilder.getEntryParserFactory(FileSystemOptions opts) |
Boolean |
FtpFileSystemConfigBuilder.getPassiveMode(FileSystemOptions opts) |
String |
FtpFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions opts)
see
FTPClientConfig for details and examples. |
String |
FtpFileSystemConfigBuilder.getServerLanguageCode(FileSystemOptions opts)
get the language code used by the server.
|
String |
FtpFileSystemConfigBuilder.getServerTimeZoneId(FileSystemOptions opts)
see
FTPClientConfig for details and examples. |
String[] |
FtpFileSystemConfigBuilder.getShortMonthNames(FileSystemOptions opts)
see
FTPClientConfig for details and examples. |
Integer |
FtpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) |
Boolean |
FtpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) |
void |
FtpFileSystemConfigBuilder.setControlEncoding(FileSystemOptions opts,
String encoding)
see
FTP.setControlEncoding(java.lang.String) for details and examples. |
void |
FtpFileSystemConfigBuilder.setDataTimeout(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 |
FtpFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions opts,
String defaultDateFormat)
set the language code used by the server.
|
void |
FtpFileSystemConfigBuilder.setEntryParser(FileSystemOptions opts,
String key)
set the FQCN of your FileEntryParser used to parse the directory listing from your server.
If you do not use the default commons-net FTPFileEntryParserFactory e.g. |
void |
FtpFileSystemConfigBuilder.setEntryParserFactory(FileSystemOptions opts,
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory)
FTPFileEntryParserFactory which will be used for ftp-entry parsing.
|
void |
FtpFileSystemConfigBuilder.setPassiveMode(FileSystemOptions opts,
boolean passiveMode)
enter into passive mode.
|
void |
FtpFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions opts,
String recentDateFormat)
see
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setServerLanguageCode(FileSystemOptions opts,
String serverLanguageCode)
set the language code used by the server.
|
void |
FtpFileSystemConfigBuilder.setServerTimeZoneId(FileSystemOptions opts,
String serverTimeZoneId)
see
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setShortMonthNames(FileSystemOptions opts,
String[] shortMonthNames)
see
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setSoTimeout(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 |
FtpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions opts,
boolean userDirIsRoot)
use user directory as root (do not change to fs root).
|
Constructor and Description |
---|
FtpFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.net.ftp.FTPSClient |
FtpsClientFactory.createConnection(String hostname,
int port,
char[] username,
char[] password,
String workingDirectory,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
protected FileSystem |
FtpsFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the filesystem.
|
Integer |
FtpsFileSystemConfigBuilder.getDataTimeout(FileSystemOptions opts) |
String |
FtpsFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions opts)
get the language code used by the server.
|
String |
FtpsFileSystemConfigBuilder.getEntryParser(FileSystemOptions opts) |
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory |
FtpsFileSystemConfigBuilder.getEntryParserFactory(FileSystemOptions opts) |
String |
FtpsFileSystemConfigBuilder.getFtpsType(FileSystemOptions opts)
Return the FTPS security mode.
|
Boolean |
FtpsFileSystemConfigBuilder.getPassiveMode(FileSystemOptions opts) |
String |
FtpsFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions opts)
see
FTPClientConfig for details and examples. |
String |
FtpsFileSystemConfigBuilder.getServerLanguageCode(FileSystemOptions opts)
get the language code used by the server.
|
String |
FtpsFileSystemConfigBuilder.getServerTimeZoneId(FileSystemOptions opts)
see
FTPClientConfig for details and examples. |
String[] |
FtpsFileSystemConfigBuilder.getShortMonthNames(FileSystemOptions opts)
see
FTPClientConfig for details and examples. |
Boolean |
FtpsFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) |
void |
FtpsFileSystemConfigBuilder.setDataTimeout(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 |
FtpsFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions opts,
String defaultDateFormat)
set the language code used by the server.
|
void |
FtpsFileSystemConfigBuilder.setEntryParser(FileSystemOptions opts,
String key)
set the FQCN of your FileEntryParser used to parse the directory listing from your server.
If you do not use the default commons-net FTPFileEntryParserFactory e.g. |
void |
FtpsFileSystemConfigBuilder.setEntryParserFactory(FileSystemOptions opts,
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory)
FTPFileEntryParserFactory which will be used for ftp-entry parsing.
|
void |
FtpsFileSystemConfigBuilder.setFtpsType(FileSystemOptions opts,
String ftpsType)
Set FTPS security mode, either "implicit" or "explicit".
|
void |
FtpsFileSystemConfigBuilder.setPassiveMode(FileSystemOptions opts,
boolean passiveMode)
Enter into passive mode.
|
void |
FtpsFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions opts,
String recentDateFormat)
see
FTPClientConfig for details and examples. |
void |
FtpsFileSystemConfigBuilder.setServerLanguageCode(FileSystemOptions opts,
String serverLanguageCode)
set the language code used by the server.
|
void |
FtpsFileSystemConfigBuilder.setServerTimeZoneId(FileSystemOptions opts,
String serverTimeZoneId)
see
FTPClientConfig for details and examples. |
void |
FtpsFileSystemConfigBuilder.setShortMonthNames(FileSystemOptions opts,
String[] shortMonthNames)
see
FTPClientConfig for details and examples. |
void |
FtpsFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions opts,
boolean userDirIsRoot)
use user directory as root (do not change to fs root).
|
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
GzipFileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
Constructor and Description |
---|
GzipFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.httpclient.HttpClient |
HttpClientFactory.createConnection(HttpFileSystemConfigBuilder builder,
String scheme,
String hostname,
int port,
String username,
String password,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
static org.apache.commons.httpclient.HttpClient |
HttpClientFactory.createConnection(String scheme,
String hostname,
int port,
String username,
String password,
FileSystemOptions fileSystemOptions) |
protected FileSystem |
HttpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem . |
org.apache.commons.httpclient.Cookie[] |
HttpFileSystemConfigBuilder.getCookies(FileSystemOptions opts)
The cookies to add to the request.
|
int |
HttpFileSystemConfigBuilder.getMaxConnectionsPerHost(FileSystemOptions opts)
Retrieve the maximum number of connections allowed per host.
|
int |
HttpFileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts)
Retrieve the maximum number of connections allowed.
|
UserAuthenticator |
HttpFileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts)
Get the proxy authenticator where the system should get the credentials from.
|
String |
HttpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts)
Get the proxy to use for http connection.
|
int |
HttpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts)
Get the proxy-port to use for http the connection.
|
String |
HttpFileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts)
Set the charset used for url encoding.
|
boolean |
HttpFileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that preemptive
authentication is requested.
|
void |
HttpFileSystemConfigBuilder.setCookies(FileSystemOptions opts,
org.apache.commons.httpclient.Cookie[] cookies)
The cookies to add to the request.
|
void |
HttpFileSystemConfigBuilder.setMaxConnectionsPerHost(FileSystemOptions opts,
int maxHostConnections)
The maximum number of connections allowed to any host.
|
void |
HttpFileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts,
int maxTotalConnections)
The maximum number of connections allowed.
|
void |
HttpFileSystemConfigBuilder.setPreemptiveAuth(FileSystemOptions opts,
boolean preemptiveAuth)
Sets the given value for preemptive HTTP authentication (using BASIC) on the
given FileSystemOptions object.
|
void |
HttpFileSystemConfigBuilder.setProxyAuthenticator(FileSystemOptions opts,
UserAuthenticator authenticator)
Set the proxy authenticator where the system should get the credentials from.
|
void |
HttpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
String proxyHost)
Set the proxy to use for http connection.
You have to set the ProxyPort too if you would like to have the proxy really used. |
void |
HttpFileSystemConfigBuilder.setProxyPort(FileSystemOptions opts,
int proxyPort)
Set the proxy-port to use for http connection.
|
void |
HttpFileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts,
String chaset)
Set the charset used for url encoding.
|
Constructor and Description |
---|
HttpFileSystem(GenericFileName rootName,
org.apache.commons.httpclient.HttpClient client,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
JarFileProvider.doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
Constructor and Description |
---|
JarFileSystem(AbstractFileName rootName,
FileObject file,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
DefaultLocalFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the filesystem.
|
Constructor and Description |
---|
LocalFileSystem(FileName rootName,
String rootFile,
FileSystemOptions opts) |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
RamFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
int |
RamFileSystemConfigBuilder.getMaxSize(FileSystemOptions opts) |
void |
RamFileSystemConfigBuilder.setMaxSize(FileSystemOptions opts,
int sizeInBytes)
Sets the maximum size of the file system.
|
Constructor and Description |
---|
RamFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
FileObject |
ResourceFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
ClassLoader |
ResourceFileSystemConfigBuilder.getClassLoader(FileSystemOptions opts) |
void |
ResourceFileSystemConfigBuilder.setClassLoader(FileSystemOptions opts,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
static com.jcraft.jsch.Session |
SftpClientFactory.createConnection(String hostname,
int port,
char[] username,
char[] password,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
protected FileSystem |
SftpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem . |
String |
SftpFileSystemConfigBuilder.getCompression(FileSystemOptions opts) |
File[] |
SftpFileSystemConfigBuilder.getIdentities(FileSystemOptions opts) |
File |
SftpFileSystemConfigBuilder.getKnownHosts(FileSystemOptions opts) |
String |
SftpFileSystemConfigBuilder.getPreferredAuthentications(FileSystemOptions opts)
Get authentication order.
|
String |
SftpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts)
Get the proxy to use for sftp connection.
|
int |
SftpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts)
Get the proxy-port to use for sftp the connection
You have to set the ProxyHost too if you would like to have the proxy relly used.
|
SftpFileSystemConfigBuilder.ProxyType |
SftpFileSystemConfigBuilder.getProxyType(FileSystemOptions opts)
Get the proxy type to use for sftp connection.
|
String |
SftpFileSystemConfigBuilder.getStrictHostKeyChecking(FileSystemOptions opts) |
Integer |
SftpFileSystemConfigBuilder.getTimeout(FileSystemOptions opts) |
Boolean |
SftpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) |
com.jcraft.jsch.UserInfo |
SftpFileSystemConfigBuilder.getUserInfo(FileSystemOptions opts) |
void |
SftpFileSystemConfigBuilder.setCompression(FileSystemOptions opts,
String compression)
configure the compression to use.
e.g. |
void |
SftpFileSystemConfigBuilder.setIdentities(FileSystemOptions opts,
File[] identities)
Set the identity files (your private key files).
Need to use a java.io.File as JSch cant deal with vfs FileObjects ;-) |
void |
SftpFileSystemConfigBuilder.setKnownHosts(FileSystemOptions opts,
File sshdir)
Set the known_hosts file.
|
void |
SftpFileSystemConfigBuilder.setPreferredAuthentications(FileSystemOptions opts,
String preferredAuthentications)
Configure authentication order.
|
void |
SftpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
String proxyHost)
Set the proxy to use for sftp connection.
You have to set the ProxyPort too if you would like to have the proxy relly used. |
void |
SftpFileSystemConfigBuilder.setProxyPort(FileSystemOptions opts,
int proxyPort)
Set the proxy-port to use for sftp connection.
|
void |
SftpFileSystemConfigBuilder.setProxyType(FileSystemOptions opts,
SftpFileSystemConfigBuilder.ProxyType proxyType)
Set the proxy type to use for sftp connection.
|
void |
SftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions opts,
String hostKeyChecking)
configure the host key checking to use.
valid arguments are only yes, no and ask. See the jsch documentation for details. |
void |
SftpFileSystemConfigBuilder.setTimeout(FileSystemOptions opts,
Integer timeout)
set the timeout value on jsch session.
|
void |
SftpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions opts,
boolean userDirIsRoot)
use user directory as root (do not change to fs root).
|
void |
SftpFileSystemConfigBuilder.setUserInfo(FileSystemOptions opts,
com.jcraft.jsch.UserInfo info)
Set the userinfo class to use if e.g.
|
Constructor and Description |
---|
SftpFileSystem(GenericFileName rootName,
com.jcraft.jsch.Session session,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
TarFileProvider.doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
Constructor and Description |
---|
TarFileSystem(AbstractFileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
FileObject |
TemporaryFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions properties)
Locates a file object, by absolute URI.
|
Modifier and Type | Method and Description |
---|---|
FileObject |
UrlFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
Constructor and Description |
---|
UrlFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
ZipFileProvider.doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
Constructor and Description |
---|
ZipFileSystem(AbstractFileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(FileSystemOptions opts,
UserAuthenticationData.Type[] authenticatorTypes)
if there is a authenticator the authentication will take place, else null will be reutrned.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigClass(FileSystemOptions fso,
String scheme,
String name,
Class<?> className)
Set a single class value.
The class has to implement a no-args constructor, else the instantiation might fail. |
void |
DelegatingFileSystemOptionsBuilder.setConfigClasses(FileSystemOptions fso,
String scheme,
String name,
Class<?>[] classNames)
Set an array of class values.
The class has to implement a no-args constructor, else the instantiation might fail. |
void |
DelegatingFileSystemOptionsBuilder.setConfigString(FileSystemOptions fso,
String scheme,
String name,
String value)
Set a single string value.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso,
String scheme,
String name,
String[] values)
Set an array of string value.
|
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.