Modifier and Type | Method | Description |
---|---|---|
FileSystemOptions |
FileSystem.getFileSystemOptions() |
Returns the FileSystemOptions used to instantiate this filesystem.
|
Modifier and Type | Method | Description |
---|---|---|
int |
FileSystemOptions.compareTo(FileSystemOptions other) |
|
protected java.lang.Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
java.lang.String name) |
Get named option as boolean.
|
protected boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
java.lang.String name,
boolean defaultValue) |
Get named option as boolean.
|
protected java.lang.Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
java.lang.String name,
java.lang.Boolean defaultValue) |
Get named option as boolean.
|
protected java.lang.Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
java.lang.String name) |
Get named option as byte.
|
protected byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
java.lang.String name,
byte defaultValue) |
Get named option as byte.
|
protected java.lang.Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
java.lang.String name,
java.lang.Byte defaultValue) |
Get named option as byte.
|
protected java.lang.Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
java.lang.String name) |
Get named option as character.
|
protected char |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
java.lang.String name,
char defaultValue) |
Get named option as character.
|
protected java.lang.Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
java.lang.String name,
java.lang.Character defaultValue) |
Get named option as character.
|
protected java.lang.Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
java.lang.String name) |
Get named option as double.
|
protected double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
java.lang.String name,
double defaultValue) |
Get named option as double.
|
protected java.lang.Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
java.lang.String name,
java.lang.Double defaultValue) |
Get named option as double.
|
protected <E extends java.lang.Enum<E>> |
FileSystemConfigBuilder.getEnum(java.lang.Class<E> enumClass,
FileSystemOptions opts,
java.lang.String name) |
Get named option as enumeration.
|
protected <E extends java.lang.Enum<E>> |
FileSystemConfigBuilder.getEnum(java.lang.Class<E> enumClass,
FileSystemOptions opts,
java.lang.String name,
E defaultValue) |
Get named option as enumeration.
|
protected java.lang.Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
java.lang.String name) |
Get named option as float.
|
protected float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
java.lang.String name,
float defaultValue) |
Get named option as float.
|
protected java.lang.Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
java.lang.String name,
java.lang.Float defaultValue) |
Get named option as float.
|
protected java.lang.Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
java.lang.String name) |
Get named option as integer.
|
protected int |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
java.lang.String name,
int defaultValue) |
Get named option as integer.
|
protected java.lang.Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
java.lang.String name,
java.lang.Integer defaultValue) |
Get named option as integer.
|
protected java.lang.Long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
java.lang.String name) |
Get named option as long.
|
protected long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
java.lang.String name,
long defaultValue) |
Get named option as long.
|
protected java.lang.Long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
java.lang.String name,
java.lang.Long defaultValue) |
Get named option as long.
|
protected java.lang.Object |
FileSystemConfigBuilder.getParam(FileSystemOptions opts,
java.lang.String name) |
Get named parameter.
|
java.lang.String |
FileSystemConfigBuilder.getRootURI(FileSystemOptions opts) |
Return the root URI of the file system.
|
protected java.lang.Short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
java.lang.String name) |
Get named option as short.
|
protected short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
java.lang.String name,
short defaultValue) |
Get named option as short.
|
protected java.lang.Short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
java.lang.String name,
java.lang.Short defaultValue) |
Get named option as short.
|
protected java.lang.String |
FileSystemConfigBuilder.getString(FileSystemOptions opts,
java.lang.String name) |
Get named option as String.
|
protected java.lang.String |
FileSystemConfigBuilder.getString(FileSystemOptions opts,
java.lang.String name,
java.lang.String defaultValue) |
Get named option as String.
|
protected boolean |
FileSystemConfigBuilder.hasObject(FileSystemOptions opts,
java.lang.String name) |
Is named setting specified.
|
protected boolean |
FileSystemConfigBuilder.hasParam(FileSystemOptions opts,
java.lang.String name) |
Check if option exists.
|
FileObject |
FileSystemManager.resolveFile(java.lang.String name,
FileSystemOptions fileSystemOptions) |
Locates a file by name.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions opts,
java.lang.String name,
boolean value) |
Set named parameter.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions opts,
java.lang.String name,
java.lang.Object value) |
Set named parameter.
|
void |
FileSystemConfigBuilder.setRootURI(FileSystemOptions opts,
java.lang.String rootURI) |
The root URI of the file system.
|
Modifier and Type | Method | Description |
---|---|---|
UserAuthenticator |
DefaultFileSystemConfigBuilder.getUserAuthenticator(FileSystemOptions opts) |
|
FileObject |
DefaultFileSystemManager.resolveFile(java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locate a file by URI, use the FileSystemOptions for file-system creation.
|
FileObject |
DefaultFileSystemManager.resolveFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Resolves a URI, relative to a base file with specified FileSystem configuration.
|
void |
DefaultFileSystemConfigBuilder.setUserAuthenticator(FileSystemOptions opts,
UserAuthenticator userAuthenticator) |
Sets the user authenticator to get authentication informations.
|
Constructor | Description |
---|---|
VirtualFileSystem(AbstractFileName rootName,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
FileSystemOptions |
AbstractFileSystem.getFileSystemOptions() |
Return the FileSystemOptions used to instantiate this filesystem.
|
Modifier and Type | Method | Description |
---|---|---|
FileObject |
AbstractFileProvider.createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions properties) |
Creates a layered file system.
|
FileObject |
AbstractLayeredFileProvider.createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
FileObject |
FileProvider.createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
protected abstract FileSystem |
AbstractLayeredFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
protected abstract FileSystem |
AbstractOriginatingFileProvider.doCreateFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions) |
Creates a
FileSystem . |
FileObject |
AbstractLayeredFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
protected FileObject |
AbstractOriginatingFileProvider.findFile(FileName name,
FileSystemOptions fileSystemOptions) |
Locates a file from its parsed URI.
|
FileObject |
AbstractOriginatingFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
FileObject |
CompositeFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
FileObject |
FileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
protected FileSystem |
AbstractFileProvider.findFileSystem(java.lang.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(java.lang.String name,
FileSystemOptions fileSystemOptions) |
Locate a file by name.
|
FileObject |
VfsComponentContext.resolveFile(FileObject baseFile,
java.lang.String name,
FileSystemOptions fileSystemOptions) |
Locate a file by name.
|
Constructor | Description |
---|---|
AbstractFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
|
DefaultURLStreamHandler(VfsComponentContext context,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
Bzip2FileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
Constructor | Description |
---|---|
Bzip2FileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract FileSystem |
CompressedFileFileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
|
protected FileSystem |
CompressedFileFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
Constructor | Description |
---|---|
CompressedFileFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Field | Description |
---|---|---|
protected FileSystemOptions |
FTPClientWrapper.fileSystemOptions |
Modifier and Type | Method | Description |
---|---|---|
FileSystemOptions |
FTPClientWrapper.getFileSystemOptions() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract C |
FtpClientFactory.ConnectionFactory.createClient(FileSystemOptions fileSystemOptions) |
|
protected org.apache.commons.net.ftp.FTPClient |
FtpClientFactory.FtpConnectionFactory.createClient(FileSystemOptions fileSystemOptions) |
|
C |
FtpClientFactory.ConnectionFactory.createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.String workingDirectory,
FileSystemOptions fileSystemOptions) |
|
static org.apache.commons.net.ftp.FTPClient |
FtpClientFactory.createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.String workingDirectory,
FileSystemOptions fileSystemOptions) |
Creates a new connection to the server.
|
protected FileSystem |
FtpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
Creates the filesystem.
|
java.lang.Integer |
FtpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions opts) |
Gets the timeout in milliseconds to use for the socket connection.
|
java.lang.String |
FtpFileSystemConfigBuilder.getControlEncoding(FileSystemOptions opts) |
|
java.lang.Integer |
FtpFileSystemConfigBuilder.getDataTimeout(FileSystemOptions opts) |
|
java.lang.String |
FtpFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions opts) |
Get the default date format used by the server.
|
java.lang.String |
FtpFileSystemConfigBuilder.getEntryParser(FileSystemOptions opts) |
|
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory |
FtpFileSystemConfigBuilder.getEntryParserFactory(FileSystemOptions opts) |
|
FtpFileType |
FtpFileSystemConfigBuilder.getFileType(FileSystemOptions opts) |
Gets the file type parameter.
|
java.lang.Boolean |
FtpFileSystemConfigBuilder.getPassiveMode(FileSystemOptions opts) |
|
java.net.Proxy |
FtpFileSystemConfigBuilder.getProxy(FileSystemOptions opts) |
Gets the Proxy.
|
java.lang.String |
FtpFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions opts) |
See
FTPClientConfig for details and examples. |
java.lang.Boolean |
FtpFileSystemConfigBuilder.getRemoteVerification(FileSystemOptions opts) |
Gets whether to use remote verification.
|
java.lang.String |
FtpFileSystemConfigBuilder.getServerLanguageCode(FileSystemOptions opts) |
Get the language code used by the server.
|
java.lang.String |
FtpFileSystemConfigBuilder.getServerTimeZoneId(FileSystemOptions opts) |
See
FTPClientConfig for details and examples. |
java.lang.String[] |
FtpFileSystemConfigBuilder.getShortMonthNames(FileSystemOptions opts) |
See
FTPClientConfig for details and examples. |
java.lang.Integer |
FtpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) |
|
java.lang.Boolean |
FtpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) |
Returns
Boolean.TRUE if VFS should treat the user directory as the root directory. |
void |
FtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions opts,
java.lang.Integer connectTimeout) |
Sets the timeout for the initial control connection.
|
void |
FtpFileSystemConfigBuilder.setControlEncoding(FileSystemOptions opts,
java.lang.String encoding) |
See
FTP.setControlEncoding(java.lang.String) for details and examples. |
void |
FtpFileSystemConfigBuilder.setDataTimeout(FileSystemOptions opts,
java.lang.Integer dataTimeout) |
Set the data timeout for the ftp client.
|
void |
FtpFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions opts,
java.lang.String defaultDateFormat) |
Set the default date format used by the server.
|
void |
FtpFileSystemConfigBuilder.setEntryParser(FileSystemOptions opts,
java.lang.String key) |
Set the FQCN of your FileEntryParser used to parse the directory listing from your server.
|
void |
FtpFileSystemConfigBuilder.setEntryParserFactory(FileSystemOptions opts,
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory) |
FTPFileEntryParserFactory which will be used for ftp-entry parsing.
|
void |
FtpFileSystemConfigBuilder.setFileType(FileSystemOptions opts,
FtpFileType ftpFileType) |
Sets the file type parameter.
|
void |
FtpFileSystemConfigBuilder.setPassiveMode(FileSystemOptions opts,
boolean passiveMode) |
Enter into passive mode.
|
void |
FtpFileSystemConfigBuilder.setProxy(FileSystemOptions opts,
java.net.Proxy proxy) |
Sets the Proxy.
|
void |
FtpFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions opts,
java.lang.String recentDateFormat) |
See
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setRemoteVerification(FileSystemOptions opts,
boolean remoteVerification) |
Sets whether to use remote verification.
|
void |
FtpFileSystemConfigBuilder.setServerLanguageCode(FileSystemOptions opts,
java.lang.String serverLanguageCode) |
Set the language code used by the server.
|
void |
FtpFileSystemConfigBuilder.setServerTimeZoneId(FileSystemOptions opts,
java.lang.String serverTimeZoneId) |
See
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setShortMonthNames(FileSystemOptions opts,
java.lang.String[] shortMonthNames) |
See
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
java.lang.Integer soTimeout) |
Sets the socket timeout for the FTP client.
|
protected abstract void |
FtpClientFactory.ConnectionFactory.setupOpenConnection(C client,
FileSystemOptions fileSystemOptions) |
|
protected void |
FtpClientFactory.FtpConnectionFactory.setupOpenConnection(org.apache.commons.net.ftp.FTPClient client,
FileSystemOptions fileSystemOptions) |
|
void |
FtpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions opts,
boolean userDirIsRoot) |
Use user directory as root (do not change to fs root).
|
Constructor | Description |
---|---|
FTPClientWrapper(GenericFileName root,
FileSystemOptions fileSystemOptions) |
|
FtpFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
static org.apache.commons.net.ftp.FTPSClient |
FtpsClientFactory.createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.String workingDirectory,
FileSystemOptions fileSystemOptions) |
Creates a new connection to the server.
|
protected FileSystem |
FtpsFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
Creates the filesystem.
|
FtpsDataChannelProtectionLevel |
FtpsFileSystemConfigBuilder.getDataChannelProtectionLevel(FileSystemOptions opts) |
Gets the data channel protection level (PROT).
|
FtpsMode |
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions opts) |
Return the FTPS mode.
|
java.lang.String |
FtpsFileSystemConfigBuilder.getFtpsType(FileSystemOptions opts) |
Deprecated.
As of 2.1, use
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions) |
javax.net.ssl.KeyManager |
FtpsFileSystemConfigBuilder.getKeyManager(FileSystemOptions opts) |
Gets the KeyManager used to provide a client-side certificate if the FTPS server requests it.
|
javax.net.ssl.TrustManager |
FtpsFileSystemConfigBuilder.getTrustManager(FileSystemOptions opts) |
Gets the TrustManager that validates the FTPS server's certificate.
|
void |
FtpsFileSystemConfigBuilder.setDataChannelProtectionLevel(FileSystemOptions opts,
FtpsDataChannelProtectionLevel prot) |
Sets the data channel protection level (PROT).
|
void |
FtpsFileSystemConfigBuilder.setFtpsMode(FileSystemOptions opts,
FtpsMode ftpsMode) |
Set FTPS mode, either "implicit" or "explicit".
|
void |
FtpsFileSystemConfigBuilder.setFtpsType(FileSystemOptions opts,
java.lang.String ftpsType) |
Deprecated.
|
void |
FtpsFileSystemConfigBuilder.setKeyManager(FileSystemOptions opts,
javax.net.ssl.KeyManager keyManager) |
Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it.
|
void |
FtpsFileSystemConfigBuilder.setTrustManager(FileSystemOptions opts,
javax.net.ssl.TrustManager trustManager) |
Sets the TrustManager that validates the FTPS server's certificate.
|
Constructor | Description |
---|---|
FtpsFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions) |
Create a new FtpsFileSystem.
|
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
GzipFileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
Constructor | Description |
---|---|
GzipFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
static org.apache.commons.httpclient.HttpClient |
HttpClientFactory.createConnection(java.lang.String scheme,
java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
FileSystemOptions fileSystemOptions) |
|
static org.apache.commons.httpclient.HttpClient |
HttpClientFactory.createConnection(HttpFileSystemConfigBuilder builder,
java.lang.String scheme,
java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
FileSystemOptions fileSystemOptions) |
Creates a new connection to the server.
|
protected FileSystem |
HttpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
Creates a
FileSystem . |
int |
HttpFileSystemConfigBuilder.getConnectionTimeout(FileSystemOptions opts) |
Retrieve the connection timeout.
|
org.apache.commons.httpclient.Cookie[] |
HttpFileSystemConfigBuilder.getCookies(FileSystemOptions opts) |
The cookies to add to the request.
|
boolean |
HttpFileSystemConfigBuilder.getFollowRedirect(FileSystemOptions opts) |
Gets whether to follow redirects for the connection.
|
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.
|
java.lang.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.
|
int |
HttpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) |
Retrieve the socket timeout.
|
java.lang.String |
HttpFileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts) |
Set the charset used for url encoding.
|
java.lang.String |
HttpFileSystemConfigBuilder.getUserAgent(FileSystemOptions opts) |
Return the user agent string
|
boolean |
HttpFileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts) |
Determines if the FileSystemOptions indicate that preemptive authentication is requested.
|
void |
HttpFileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
int connectionTimeout) |
The connection timeout.
|
void |
HttpFileSystemConfigBuilder.setCookies(FileSystemOptions opts,
org.apache.commons.httpclient.Cookie[] cookies) |
The cookies to add to the request.
|
void |
HttpFileSystemConfigBuilder.setFollowRedirect(FileSystemOptions opts,
boolean redirect) |
Sets whether to follow redirects for the connection.
|
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,
java.lang.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.setSoTimeout(FileSystemOptions opts,
int soTimeout) |
The socket timeout.
|
void |
HttpFileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts,
java.lang.String chaset) |
Set the charset used for url encoding.
|
void |
HttpFileSystemConfigBuilder.setUserAgent(FileSystemOptions opts,
java.lang.String userAgent) |
Assign the user agent to attach to the outgoing http methods
|
Constructor | Description |
---|---|
HttpFileSystem(GenericFileName rootName,
org.apache.commons.httpclient.HttpClient client,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
JarFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
Constructor | Description |
---|---|
JarFileSystem(AbstractFileName rootName,
FileObject file,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
DefaultLocalFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
Creates the filesystem.
|
Constructor | Description |
---|---|
LocalFileSystem(FileName rootName,
java.lang.String rootFile,
FileSystemOptions opts) |
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
RamFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
|
long |
RamFileSystemConfigBuilder.getLongMaxSize(FileSystemOptions opts) |
Defaults to
Integer.MAX_VALUE . |
int |
RamFileSystemConfigBuilder.getMaxSize(FileSystemOptions opts) |
Defaults to
Integer.MAX_VALUE . |
void |
RamFileSystemConfigBuilder.setMaxSize(FileSystemOptions opts,
int sizeInBytes) |
Deprecated.
|
void |
RamFileSystemConfigBuilder.setMaxSize(FileSystemOptions opts,
long sizeInBytes) |
Sets the maximum size of the file system.
|
Constructor | Description |
---|---|
RamFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
FileObject |
ResourceFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
java.lang.ClassLoader |
ResourceFileSystemConfigBuilder.getClassLoader(FileSystemOptions opts) |
|
void |
ResourceFileSystemConfigBuilder.setClassLoader(FileSystemOptions opts,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method | Description |
---|---|---|
FileSystemOptions |
SftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions opts) |
Gets the proxy options that are used to connect to the proxy host.
|
Modifier and Type | Method | Description |
---|---|---|
static com.jcraft.jsch.Session |
SftpClientFactory.createConnection(java.lang.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 . |
java.lang.String |
SftpFileSystemConfigBuilder.getCompression(FileSystemOptions opts) |
|
java.lang.String |
SftpFileSystemConfigBuilder.getFileNameEncoding(FileSystemOptions opts) |
Gets the file name encoding.
|
java.io.File[] |
SftpFileSystemConfigBuilder.getIdentities(FileSystemOptions opts) |
Deprecated.
|
IdentityInfo[] |
SftpFileSystemConfigBuilder.getIdentityInfo(FileSystemOptions opts) |
Gets the identity info.
|
IdentityRepositoryFactory |
SftpFileSystemConfigBuilder.getIdentityRepositoryFactory(FileSystemOptions opts) |
Get the identity repository factory.
|
java.io.File |
SftpFileSystemConfigBuilder.getKnownHosts(FileSystemOptions opts) |
|
java.lang.String |
SftpFileSystemConfigBuilder.getPreferredAuthentications(FileSystemOptions opts) |
Gets authentication order.
|
java.lang.String |
SftpFileSystemConfigBuilder.getProxyCommand(FileSystemOptions opts) |
Gets the command that will be run on the proxy host when using a SftpStreamProxy.
|
java.lang.String |
SftpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts) |
Gets the proxy to use for the SFTP connection.
|
FileSystemOptions |
SftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions opts) |
Gets the proxy options that are used to connect to the proxy host.
|
java.lang.String |
SftpFileSystemConfigBuilder.getProxyPassword(FileSystemOptions opts) |
Gets the proxy password that are used to connect to the proxy host.
|
int |
SftpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts) |
Gets the proxy-port to use for the SFTP the connection.
|
SftpFileSystemConfigBuilder.ProxyType |
SftpFileSystemConfigBuilder.getProxyType(FileSystemOptions opts) |
Gets the proxy type to use for the SFTP connection.
|
java.lang.String |
SftpFileSystemConfigBuilder.getProxyUser(FileSystemOptions opts) |
Gets the user name for the proxy used for the SFTP connection.
|
java.lang.String |
SftpFileSystemConfigBuilder.getStrictHostKeyChecking(FileSystemOptions opts) |
|
java.lang.Integer |
SftpFileSystemConfigBuilder.getTimeout(FileSystemOptions opts) |
|
java.lang.Boolean |
SftpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) |
Returns
Boolean.TRUE if VFS should treat the user directory as the root directory. |
com.jcraft.jsch.UserInfo |
SftpFileSystemConfigBuilder.getUserInfo(FileSystemOptions opts) |
|
void |
SftpFileSystemConfigBuilder.setCompression(FileSystemOptions opts,
java.lang.String compression) |
Configures the compression algorithms to use.
|
void |
SftpFileSystemConfigBuilder.setFileNameEncoding(FileSystemOptions opts,
java.lang.String fileNameEncoding) |
Sets the file name encoding.
|
void |
SftpFileSystemConfigBuilder.setIdentities(FileSystemOptions opts,
java.io.File... identityFiles) |
Deprecated.
|
void |
SftpFileSystemConfigBuilder.setIdentityInfo(FileSystemOptions opts,
IdentityInfo... identites) |
Sets the identity info (your private key files).
|
void |
SftpFileSystemConfigBuilder.setIdentityRepositoryFactory(FileSystemOptions opts,
IdentityRepositoryFactory factory) |
Set the identity repository.
|
void |
SftpFileSystemConfigBuilder.setKnownHosts(FileSystemOptions opts,
java.io.File knownHosts) |
Sets the known_hosts file.
|
void |
SftpFileSystemConfigBuilder.setPreferredAuthentications(FileSystemOptions opts,
java.lang.String preferredAuthentications) |
Configures authentication order.
|
void |
SftpFileSystemConfigBuilder.setProxyCommand(FileSystemOptions opts,
java.lang.String proxyCommand) |
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
java.lang.String proxyHost) |
Sets the proxy to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyOptions(FileSystemOptions opts,
FileSystemOptions proxyOptions) |
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyPassword(FileSystemOptions opts,
java.lang.String proxyPassword) |
Sets the proxy password to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyPort(FileSystemOptions opts,
int proxyPort) |
Sets the proxy port to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyType(FileSystemOptions opts,
SftpFileSystemConfigBuilder.ProxyType proxyType) |
Sets the proxy type to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyUser(FileSystemOptions opts,
java.lang.String proxyUser) |
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions opts,
java.lang.String hostKeyChecking) |
Configures the host key checking to use.
|
void |
SftpFileSystemConfigBuilder.setTimeout(FileSystemOptions opts,
java.lang.Integer timeout) |
Sets the timeout value on Jsch session.
|
void |
SftpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions opts,
boolean userDirIsRoot) |
Sets the whether to use the user directory as root (do not change to file system root).
|
void |
SftpFileSystemConfigBuilder.setUserInfo(FileSystemOptions opts,
com.jcraft.jsch.UserInfo info) |
Sets the Jsch UserInfo class to use.
|
Constructor | Description |
---|---|
SftpFileSystem(GenericFileName rootName,
com.jcraft.jsch.Session session,
FileSystemOptions fileSystemOptions) |
|
SftpStreamProxy(java.lang.String commandFormat,
java.lang.String proxyUser,
java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyPassword,
FileSystemOptions proxyOptions) |
Creates a stream proxy.
|
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
TarFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
Constructor | Description |
---|---|
TarFileSystem(AbstractFileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
FileObject |
TemporaryFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions properties) |
Locates a file object, by absolute URI.
|
Modifier and Type | Method | Description |
---|---|---|
FileObject |
UrlFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
Constructor | Description |
---|---|
UrlFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
ZipFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
Constructor | Description |
---|---|
ZipFileSystem(AbstractFileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(FileSystemOptions opts,
UserAuthenticationData.Type[] authenticatorTypes) |
Authenticates if there is an authenticator, else returns null.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigClass(FileSystemOptions fso,
java.lang.String scheme,
java.lang.String name,
java.lang.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,
java.lang.String scheme,
java.lang.String name,
java.lang.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,
java.lang.String scheme,
java.lang.String name,
java.lang.String value) |
Set a single string value.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso,
java.lang.String scheme,
java.lang.String name,
java.lang.String[] values) |
Set an array of string value.
|