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)
Get named option as boolean.
|
protected boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
String name,
boolean defaultValue)
Get named option as boolean.
|
protected Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions opts,
String name,
Boolean defaultValue)
Get named option as boolean.
|
protected Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
String name)
Get named option as byte.
|
protected byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
String name,
byte defaultValue)
Get named option as byte.
|
protected Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions opts,
String name,
Byte defaultValue)
Get named option as byte.
|
protected Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
String name)
Get named option as character.
|
protected char |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
String name,
char defaultValue)
Get named option as character.
|
protected Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions opts,
String name,
Character defaultValue)
Get named option as character.
|
protected Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
String name)
Get named option as double.
|
protected double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
String name,
double defaultValue)
Get named option as double.
|
protected Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions opts,
String name,
Double defaultValue)
Get named option as double.
|
protected <E extends Enum<E>> |
FileSystemConfigBuilder.getEnum(Class<E> enumClass,
FileSystemOptions opts,
String name)
Get named option as enumeration.
|
protected <E extends Enum<E>> |
FileSystemConfigBuilder.getEnum(Class<E> enumClass,
FileSystemOptions opts,
String name,
E defaultValue)
Get named option as enumeration.
|
protected Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
String name)
Get named option as float.
|
protected float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
String name,
float defaultValue)
Get named option as float.
|
protected Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions opts,
String name,
Float defaultValue)
Get named option as float.
|
protected Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
String name)
Get named option as integer.
|
protected int |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
String name,
int defaultValue)
Get named option as integer.
|
protected Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions opts,
String name,
Integer defaultValue)
Get named option as integer.
|
protected Long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
String name)
Get named option as long.
|
protected long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
String name,
long defaultValue)
Get named option as long.
|
protected Long |
FileSystemConfigBuilder.getLong(FileSystemOptions opts,
String name,
Long defaultValue)
Get named option as long.
|
protected Object |
FileSystemConfigBuilder.getParam(FileSystemOptions opts,
String name)
Get named parameter.
|
String |
FileSystemConfigBuilder.getRootURI(FileSystemOptions opts)
Return the root URI of the file system.
|
protected Short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
String name)
Get named option as short.
|
protected short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
String name,
short defaultValue)
Get named option as short.
|
protected Short |
FileSystemConfigBuilder.getShort(FileSystemOptions opts,
String name,
Short defaultValue)
Get named option as short.
|
protected String |
FileSystemConfigBuilder.getString(FileSystemOptions opts,
String name)
Get named option as String.
|
protected String |
FileSystemConfigBuilder.getString(FileSystemOptions opts,
String name,
String defaultValue)
Get named option as String.
|
protected boolean |
FileSystemConfigBuilder.hasObject(FileSystemOptions opts,
String name)
Is named setting specified.
|
protected boolean |
FileSystemConfigBuilder.hasParam(FileSystemOptions opts,
String name)
Check if option exists.
|
FileObject |
FileSystemManager.resolveFile(String name,
FileSystemOptions fileSystemOptions)
Locates a file by name.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions opts,
String name,
boolean value)
Set named parameter.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions opts,
String name,
Object value)
Set named parameter.
|
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, relative 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 |
CompositeFileProvider.findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
FileObject |
AbstractLayeredFileProvider.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.
|
FileObject |
FileProvider.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 | Field and Description |
---|---|
protected FileSystemOptions |
FTPClientWrapper.fileSystemOptions |
Modifier and Type | Method and Description |
---|---|
FileSystemOptions |
FTPClientWrapper.getFileSystemOptions() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.net.ftp.FTPClient |
FtpClientFactory.FtpConnectionFactory.createClient(FileSystemOptions fileSystemOptions) |
protected abstract C |
FtpClientFactory.ConnectionFactory.createClient(FileSystemOptions fileSystemOptions) |
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.
|
C |
FtpClientFactory.ConnectionFactory.createConnection(String hostname,
int port,
char[] username,
char[] password,
String workingDirectory,
FileSystemOptions fileSystemOptions) |
protected FileSystem |
FtpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the filesystem.
|
Integer |
FtpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions opts)
Gets the timeout in milliseconds to use for the socket connection.
|
String |
FtpFileSystemConfigBuilder.getControlEncoding(FileSystemOptions opts) |
Integer |
FtpFileSystemConfigBuilder.getDataTimeout(FileSystemOptions opts) |
String |
FtpFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions opts)
Get the default date format used by the server.
|
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.
|
Boolean |
FtpFileSystemConfigBuilder.getPassiveMode(FileSystemOptions opts) |
Proxy |
FtpFileSystemConfigBuilder.getProxy(FileSystemOptions opts)
Gets the Proxy.
|
String |
FtpFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions opts)
See
FTPClientConfig for details and examples. |
Boolean |
FtpFileSystemConfigBuilder.getRemoteVerification(FileSystemOptions opts)
Gets whether to use remote verification.
|
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)
Returns
Boolean.TRUE if VFS should treat the user directory as the root directory. |
void |
FtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions opts,
Integer connectTimeout)
Sets the timeout for the initial control connection.
|
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.
|
void |
FtpFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions opts,
String defaultDateFormat)
Set the default date format 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.
|
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,
Proxy proxy)
Sets the Proxy.
|
void |
FtpFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions opts,
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,
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)
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 and Description |
---|
FTPClientWrapper(GenericFileName root,
FileSystemOptions fileSystemOptions) |
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.
|
FtpsDataChannelProtectionLevel |
FtpsFileSystemConfigBuilder.getDataChannelProtectionLevel(FileSystemOptions opts)
Gets the data channel protection level (PROT).
|
FtpsMode |
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions opts)
Return the FTPS mode.
|
String |
FtpsFileSystemConfigBuilder.getFtpsType(FileSystemOptions opts)
Deprecated.
As of 2.1, use
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions) |
KeyManager |
FtpsFileSystemConfigBuilder.getKeyManager(FileSystemOptions opts)
Gets the KeyManager used to provide a client-side certificate if the FTPS server requests it.
|
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,
String ftpsType)
Deprecated.
|
void |
FtpsFileSystemConfigBuilder.setKeyManager(FileSystemOptions opts,
KeyManager keyManager)
Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it.
|
void |
FtpsFileSystemConfigBuilder.setTrustManager(FileSystemOptions opts,
TrustManager trustManager)
Sets the TrustManager that validates the FTPS server's certificate.
|
Constructor and Description |
---|
FtpsFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions)
Create a new FtpsFileSystem.
|
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 |
---|---|
protected FileSystem |
HdfsFileProvider.doCreateFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
Create a new HdfsFileSystem instance.
|
org.apache.hadoop.conf.Configuration |
HdfsFileSystemConfigBuilder.getConfigConfiguration(FileSystemOptions opts)
Get alternate configuration object.
|
InputStream |
HdfsFileSystemConfigBuilder.getConfigInputStream(FileSystemOptions opts)
Get alternate configuration input stream.
|
String[] |
HdfsFileSystemConfigBuilder.getConfigNames(FileSystemOptions opts)
Get names of alternate configuration resources.
|
org.apache.hadoop.fs.Path[] |
HdfsFileSystemConfigBuilder.getConfigPaths(FileSystemOptions opts)
Get paths of alternate configuration file system files.
|
URL[] |
HdfsFileSystemConfigBuilder.getConfigURLs(FileSystemOptions opts)
Get URLs of alternate configurations.
|
void |
HdfsFileSystemConfigBuilder.setConfigConfiguration(FileSystemOptions opts,
org.apache.hadoop.conf.Configuration configuration)
Sets the configuration object to be loaded after the defaults.
|
void |
HdfsFileSystemConfigBuilder.setConfigInputStream(FileSystemOptions opts,
InputStream inputStream)
Sets the input stream of configuration file to be loaded after the defaults.
|
void |
HdfsFileSystemConfigBuilder.setConfigName(FileSystemOptions opts,
String name)
Sets the name of configuration resource to be loaded after the defaults.
|
void |
HdfsFileSystemConfigBuilder.setConfigPath(FileSystemOptions opts,
org.apache.hadoop.fs.Path path)
Sets the full path of configuration file to be loaded after the defaults.
|
void |
HdfsFileSystemConfigBuilder.setConfigURL(FileSystemOptions opts,
URL url)
Sets the URL of configuration file to be loaded after the defaults.
|
Constructor and Description |
---|
HdfsFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
Construct file system.
|
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 . |
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.
|
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.
|
String |
HttpFileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts)
Set the charset used for url encoding.
|
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,
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,
String chaset)
Set the charset used for url encoding.
|
void |
HttpFileSystemConfigBuilder.setUserAgent(FileSystemOptions opts,
String userAgent)
Assign the user agent to attach to the outgoing http methods
|
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) |
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 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 |
---|---|
FileSystemOptions |
SftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions opts)
Gets the proxy options that are used to connect
to the proxy host.
|
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) |
String |
SftpFileSystemConfigBuilder.getFileNameEncoding(FileSystemOptions opts)
Gets the file name encoding.
|
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.
|
File |
SftpFileSystemConfigBuilder.getKnownHosts(FileSystemOptions opts) |
String |
SftpFileSystemConfigBuilder.getPreferredAuthentications(FileSystemOptions opts)
Gets authentication order.
|
String |
SftpFileSystemConfigBuilder.getProxyCommand(FileSystemOptions opts)
Gets the command that will be run on the proxy
host when using a SftpStreamProxy.
|
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.
|
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.
|
String |
SftpFileSystemConfigBuilder.getProxyUser(FileSystemOptions opts)
Gets the user name for the proxy used for the SFTP connection.
|
String |
SftpFileSystemConfigBuilder.getStrictHostKeyChecking(FileSystemOptions opts) |
Integer |
SftpFileSystemConfigBuilder.getTimeout(FileSystemOptions opts) |
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,
String compression)
Configures the compression algorithms to use.
|
void |
SftpFileSystemConfigBuilder.setFileNameEncoding(FileSystemOptions opts,
String fileNameEncoding)
Sets the file name encoding.
|
void |
SftpFileSystemConfigBuilder.setIdentities(FileSystemOptions opts,
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,
File knownHosts)
Sets the known_hosts file.
|
void |
SftpFileSystemConfigBuilder.setPreferredAuthentications(FileSystemOptions opts,
String preferredAuthentications)
Configures authentication order.
|
void |
SftpFileSystemConfigBuilder.setProxyCommand(FileSystemOptions opts,
String proxyCommand)
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
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,
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,
String proxyUser)
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions opts,
String hostKeyChecking)
Configures the host key checking to use.
|
void |
SftpFileSystemConfigBuilder.setTimeout(FileSystemOptions opts,
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 and Description |
---|
SftpFileSystem(GenericFileName rootName,
com.jcraft.jsch.Session session,
FileSystemOptions fileSystemOptions) |
SftpStreamProxy(String commandFormat,
String proxyUser,
String proxyHost,
int proxyPort,
String proxyPassword,
FileSystemOptions proxyOptions)
Creates a stream proxy.
|
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)
Authenticates if there is an authenticator, else returns null.
|
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–2018 The Apache Software Foundation. All rights reserved.