Modifier and Type | Method and Description |
---|---|
FileSystemOptions |
FileSystem.getFileSystemOptions()
Returns the FileSystemOptions used to instantiate this file system.
|
Modifier and Type | Method and Description |
---|---|
int |
FileSystemOptions.compareTo(FileSystemOptions other) |
protected Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Boolean.
|
protected boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions fileSystemOptions,
String name,
boolean defaultValue)
Gets a named option as a Boolean.
|
protected Boolean |
FileSystemConfigBuilder.getBoolean(FileSystemOptions fileSystemOptions,
String name,
Boolean defaultValue)
Gets a named option as a Boolean.
|
protected Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Byte.
|
protected byte |
FileSystemConfigBuilder.getByte(FileSystemOptions fileSystemOptions,
String name,
byte defaultValue)
Gets a named option as a Byte.
|
protected Byte |
FileSystemConfigBuilder.getByte(FileSystemOptions fileSystemOptions,
String name,
Byte defaultValue)
Gets a named option as a Byte.
|
protected Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Character.
|
protected char |
FileSystemConfigBuilder.getCharacter(FileSystemOptions fileSystemOptions,
String name,
char defaultValue)
Gets a named option as a Character.
|
protected Character |
FileSystemConfigBuilder.getCharacter(FileSystemOptions fileSystemOptions,
String name,
Character defaultValue)
Gets a named option as a Character.
|
protected Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Double.
|
protected double |
FileSystemConfigBuilder.getDouble(FileSystemOptions fileSystemOptions,
String name,
double defaultValue)
Gets a named option as a Double.
|
protected Double |
FileSystemConfigBuilder.getDouble(FileSystemOptions fileSystemOptions,
String name,
Double defaultValue)
Gets a named option as a Double.
|
protected Duration |
FileSystemConfigBuilder.getDuration(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Duration.
|
protected Duration |
FileSystemConfigBuilder.getDuration(FileSystemOptions fileSystemOptions,
String name,
Duration defaultValue)
Gets a named option as a Duration.
|
protected Integer |
FileSystemConfigBuilder.getDurationInteger(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Duration bound to the integer range.
|
protected Integer |
FileSystemConfigBuilder.getDurationInteger(FileSystemOptions fileSystemOptions,
String name,
Duration defaultValue)
Gets a named option as a Duration bound to the integer range.
|
protected <E extends Enum<E>> |
FileSystemConfigBuilder.getEnum(Class<E> enumClass,
FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Double.
|
protected <E extends Enum<E>> |
FileSystemConfigBuilder.getEnum(Class<E> enumClass,
FileSystemOptions fileSystemOptions,
String name,
E defaultValue)
Gets a named option as an Enum.
|
protected Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Float.
|
protected float |
FileSystemConfigBuilder.getFloat(FileSystemOptions fileSystemOptions,
String name,
float defaultValue)
Gets a named option as a Float.
|
protected Float |
FileSystemConfigBuilder.getFloat(FileSystemOptions fileSystemOptions,
String name,
Float defaultValue)
Gets a named option as a Float.
|
protected Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as an Integer.
|
protected int |
FileSystemConfigBuilder.getInteger(FileSystemOptions fileSystemOptions,
String name,
int defaultValue)
Gets a named option as an Integer.
|
protected Integer |
FileSystemConfigBuilder.getInteger(FileSystemOptions fileSystemOptions,
String name,
Integer defaultValue)
Gets a named option as an Integer.
|
protected Long |
FileSystemConfigBuilder.getLong(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Long.
|
protected long |
FileSystemConfigBuilder.getLong(FileSystemOptions fileSystemOptions,
String name,
long defaultValue)
Gets a named option as a Long.
|
protected Long |
FileSystemConfigBuilder.getLong(FileSystemOptions fileSystemOptions,
String name,
Long defaultValue)
Gets a named option as a Long.
|
protected <T> T |
FileSystemConfigBuilder.getParam(FileSystemOptions fileSystemOptions,
String name)
Gets a named parameter.
|
String |
FileSystemConfigBuilder.getRootURI(FileSystemOptions fileSystemOptions)
Gets the root URI of the file system.
|
protected Short |
FileSystemConfigBuilder.getShort(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a Short.
|
protected short |
FileSystemConfigBuilder.getShort(FileSystemOptions fileSystemOptions,
String name,
short defaultValue)
Gets a named option as a Short.
|
protected Short |
FileSystemConfigBuilder.getShort(FileSystemOptions fileSystemOptions,
String name,
Short defaultValue)
Gets a named option as a Short.
|
protected String |
FileSystemConfigBuilder.getString(FileSystemOptions fileSystemOptions,
String name)
Gets a named option as a String.
|
protected String |
FileSystemConfigBuilder.getString(FileSystemOptions fileSystemOptions,
String name,
String defaultValue)
Gets a named option as a String.
|
protected boolean |
FileSystemConfigBuilder.hasObject(FileSystemOptions fileSystemOptions,
String name)
Checks the named setting specified.
|
protected boolean |
FileSystemConfigBuilder.hasParam(FileSystemOptions fileSystemOptions,
String name)
Checks if option exists.
|
FileObject |
FileSystemManager.resolveFile(String name,
FileSystemOptions fileSystemOptions)
Locates a file by name.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions fileSystemOptions,
String name,
boolean value)
Sets the named parameter.
|
protected void |
FileSystemConfigBuilder.setParam(FileSystemOptions fileSystemOptions,
String name,
Object value)
Sets the named parameter.
|
void |
FileSystemConfigBuilder.setRootURI(FileSystemOptions fileSystemOptions,
String rootURI)
Sets 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()
Returns the FileSystemOptions used to instantiate this file system.
|
Modifier and Type | Method and Description |
---|---|
FileObject |
FileProvider.createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
FileObject |
AbstractFileProvider.createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
FileObject |
AbstractLayeredFileProvider.createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
protected abstract FileSystem |
AbstractOriginatingFileProvider.doCreateFileSystem(FileName rootFileName,
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 fileName,
FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI.
|
FileObject |
AbstractOriginatingFileProvider.findFile(FileObject baseFileObject,
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 |
FileProvider.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.
|
protected FileSystem |
AbstractFileProvider.findFileSystem(Comparable<?> key,
FileSystemOptions fileSystemOptions)
Locates a cached file system.
|
protected FileSystem |
AbstractOriginatingFileProvider.getFileSystem(FileName rootFileName,
FileSystemOptions fileSystemOptions)
Returns the FileSystem associated with the specified root.
|
FileObject |
VfsComponentContext.resolveFile(FileObject baseFile,
String name,
FileSystemOptions fileSystemOptions)
Resolves a file by name.
|
FileObject |
VfsComponentContext.resolveFile(String name,
FileSystemOptions fileSystemOptions)
Resolves a file by name.
|
Constructor and Description |
---|
AbstractFileSystem(FileName rootFileName,
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 abstract C |
FtpClientFactory.ConnectionFactory.createClient(FileSystemOptions fileSystemOptions) |
protected org.apache.commons.net.ftp.FTPClient |
FtpClientFactory.FtpConnectionFactory.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 file system.
|
Boolean |
FtpFileSystemConfigBuilder.getAutodetectUtf8(FileSystemOptions options)
Gets whether to try to autodetect the server encoding (only UTF8 is supported).
|
Integer |
FtpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions options)
|
Duration |
FtpFileSystemConfigBuilder.getConnectTimeoutDuration(FileSystemOptions options)
Gets the timeout in milliseconds to use for the socket connection.
|
String |
FtpFileSystemConfigBuilder.getControlEncoding(FileSystemOptions options) |
Duration |
FtpFileSystemConfigBuilder.getControlKeepAliveReplyTimeout(FileSystemOptions options) |
Duration |
FtpFileSystemConfigBuilder.getControlKeepAliveTimeout(FileSystemOptions options) |
Integer |
FtpFileSystemConfigBuilder.getDataTimeout(FileSystemOptions options)
Deprecated.
|
Duration |
FtpFileSystemConfigBuilder.getDataTimeoutDuration(FileSystemOptions options)
Gets the timeout for opening the data channel.
|
String |
FtpFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions options)
Get the default date format used by the server.
|
String |
FtpFileSystemConfigBuilder.getEntryParser(FileSystemOptions options) |
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory |
FtpFileSystemConfigBuilder.getEntryParserFactory(FileSystemOptions options) |
FtpFileType |
FtpFileSystemConfigBuilder.getFileType(FileSystemOptions options)
Gets the file type parameter.
|
Boolean |
FtpFileSystemConfigBuilder.getMdtmLastModifiedTime(FileSystemOptions options)
Gets the option to use FTP MDTM for
FileContent.getLastModifiedTime() . |
Boolean |
FtpFileSystemConfigBuilder.getPassiveMode(FileSystemOptions options) |
Proxy |
FtpFileSystemConfigBuilder.getProxy(FileSystemOptions options)
Gets the Proxy.
|
String |
FtpFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions options)
See
FTPClientConfig for details and examples. |
Boolean |
FtpFileSystemConfigBuilder.getRemoteVerification(FileSystemOptions options)
Gets whether to use remote verification.
|
String |
FtpFileSystemConfigBuilder.getServerLanguageCode(FileSystemOptions options)
Get the language code used by the server.
|
String |
FtpFileSystemConfigBuilder.getServerTimeZoneId(FileSystemOptions options)
See
FTPClientConfig for details and examples. |
String[] |
FtpFileSystemConfigBuilder.getShortMonthNames(FileSystemOptions options)
See
FTPClientConfig for details and examples. |
Integer |
FtpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions options)
Deprecated.
|
Duration |
FtpFileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions options)
Gets The so timeout duration.
|
List<Integer> |
FtpFileSystemConfigBuilder.getTransferAbortedOkReplyCodes(FileSystemOptions options) |
Boolean |
FtpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions options)
Returns
Boolean.TRUE if VFS should treat the user directory as the root directory. |
void |
FtpFileSystemConfigBuilder.setAutodetectUtf8(FileSystemOptions options,
Boolean autodetectUTF8)
Sets whether to try to autodetect the server encoding (only UTF8 is supported).
|
void |
FtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions options,
Duration duration)
Sets the timeout for the initial control connection.
|
void |
FtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions options,
Integer duration)
|
void |
FtpFileSystemConfigBuilder.setControlEncoding(FileSystemOptions options,
String encoding)
See
FTP.setControlEncoding(java.lang.String) for details and examples. |
void |
FtpFileSystemConfigBuilder.setControlKeepAliveReplyTimeout(FileSystemOptions options,
Duration duration)
Sets the control keep alive reply timeout for the FTP client.
|
void |
FtpFileSystemConfigBuilder.setControlKeepAliveTimeout(FileSystemOptions options,
Duration duration)
Sets the control keep alive timeout for the FTP client.
|
void |
FtpFileSystemConfigBuilder.setDataTimeout(FileSystemOptions options,
Duration duration)
Set the data timeout for the FTP client.
|
void |
FtpFileSystemConfigBuilder.setDataTimeout(FileSystemOptions options,
Integer duration)
|
void |
FtpFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions options,
String defaultDateFormat)
Set the default date format used by the server.
|
void |
FtpFileSystemConfigBuilder.setEntryParser(FileSystemOptions options,
String key)
Set the FQCN of your FileEntryParser used to parse the directory listing from your server.
|
void |
FtpFileSystemConfigBuilder.setEntryParserFactory(FileSystemOptions options,
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory)
FTPFileEntryParserFactory which will be used for ftp-entry parsing.
|
void |
FtpFileSystemConfigBuilder.setFileType(FileSystemOptions options,
FtpFileType ftpFileType)
Sets the file type parameter.
|
void |
FtpFileSystemConfigBuilder.setMdtmLastModifiedTime(FileSystemOptions options,
boolean mdtm)
Sets the option to use FTP MDTM for
FileContent.getLastModifiedTime() . |
void |
FtpFileSystemConfigBuilder.setPassiveMode(FileSystemOptions options,
boolean passiveMode)
Enter into passive mode.
|
void |
FtpFileSystemConfigBuilder.setProxy(FileSystemOptions options,
Proxy proxy)
Sets the Proxy.
|
void |
FtpFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions options,
String recentDateFormat)
See
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setRemoteVerification(FileSystemOptions options,
boolean remoteVerification)
Sets whether to use remote verification.
|
void |
FtpFileSystemConfigBuilder.setServerLanguageCode(FileSystemOptions options,
String serverLanguageCode)
Set the language code used by the server.
|
void |
FtpFileSystemConfigBuilder.setServerTimeZoneId(FileSystemOptions options,
String serverTimeZoneId)
See
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setShortMonthNames(FileSystemOptions options,
String[] shortMonthNames)
See
FTPClientConfig for details and examples. |
void |
FtpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions options,
Duration timeout)
Sets the socket timeout for the FTP client.
|
void |
FtpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions options,
Integer timeout)
Deprecated.
|
void |
FtpFileSystemConfigBuilder.setTransferAbortedOkReplyCodes(FileSystemOptions options,
List<Integer> replyCodes)
Sets the list of reply codes that are considered as OK when prematurely closing a stream.
|
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 options,
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 file system.
|
FtpsDataChannelProtectionLevel |
FtpsFileSystemConfigBuilder.getDataChannelProtectionLevel(FileSystemOptions opts)
Gets the data channel protection level (PROT).
|
FtpsMode |
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions opts)
Returns 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)
Sets 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)
Creates 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)
Creates 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)
|
Duration |
HttpFileSystemConfigBuilder.getConnectionTimeoutDuration(FileSystemOptions opts)
Gets the connection timeout.
|
org.apache.commons.httpclient.Cookie[] |
HttpFileSystemConfigBuilder.getCookies(FileSystemOptions opts)
Gets 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)
Gets the maximum number of connections allowed per host.
|
int |
HttpFileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts)
Gets the maximum number of connections allowed.
|
UserAuthenticator |
HttpFileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts)
Gets the proxy authenticator where the system should get the credentials from.
|
String |
HttpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts)
Gets the proxy to use for http connection.
|
int |
HttpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts)
Gets the proxy-port to use for http the connection.
|
int |
HttpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts)
Deprecated.
|
Duration |
HttpFileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions opts)
Gets the socket timeout.
|
String |
HttpFileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts)
Gets the charset used for url encoding.
|
String |
HttpFileSystemConfigBuilder.getUserAgent(FileSystemOptions opts)
Gets the user agent string
|
boolean |
HttpFileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that preemptive authentication is requested.
|
void |
HttpFileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
Duration timeout)
The connection timeout.
|
void |
HttpFileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
int 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)
Sets the maximum number of connections allowed to any host.
|
void |
HttpFileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts,
int maxTotalConnections)
Sets 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)
Sets the proxy authenticator where the system should get the credentials from.
|
void |
HttpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
String proxyHost)
Sets the proxy to use for http connection.
|
void |
HttpFileSystemConfigBuilder.setProxyPort(FileSystemOptions opts,
int proxyPort)
Sets the proxy-port to use for http connection.
|
void |
HttpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
Duration timeout)
The socket timeout.
|
void |
HttpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
int timeout)
|
void |
HttpFileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts,
String charset)
Sets the charset used for url encoding.
|
void |
HttpFileSystemConfigBuilder.setUserAgent(FileSystemOptions opts,
String userAgent)
Sets 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 org.apache.http.client.HttpClient |
Http4FileProvider.createHttpClient(Http4FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions)
Create an
HttpClient object for an http4 file system. |
protected org.apache.http.impl.client.HttpClientBuilder |
Http4FileProvider.createHttpClientBuilder(Http4FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions)
Create an
HttpClientBuilder object. |
protected org.apache.http.client.protocol.HttpClientContext |
Http4FileProvider.createHttpClientContext(Http4FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions,
UserAuthenticationData authData)
Create an
HttpClientContext object for an http4 file system. |
protected SSLContext |
Http4FileProvider.createSSLContext(Http4FileSystemConfigBuilder builder,
FileSystemOptions fileSystemOptions)
Create
SSLContext for HttpClient. |
protected FileSystem |
Http4FileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
int |
Http4FileSystemConfigBuilder.getConnectionTimeout(FileSystemOptions opts)
|
Duration |
Http4FileSystemConfigBuilder.getConnectionTimeoutDuration(FileSystemOptions opts)
/**
Gets the connection timeout.
|
org.apache.http.cookie.Cookie[] |
Http4FileSystemConfigBuilder.getCookies(FileSystemOptions opts)
Gets the cookies to add to the request.
|
boolean |
Http4FileSystemConfigBuilder.getFollowRedirect(FileSystemOptions opts)
Gets whether to follow redirects for the connection.
|
String |
Http4FileSystemConfigBuilder.getKeyStoreFile(FileSystemOptions opts)
Return keystore file path to be used in SSL connections.
|
String |
Http4FileSystemConfigBuilder.getKeyStoreType(FileSystemOptions opts)
Get keystore type for SSL connections.
|
int |
Http4FileSystemConfigBuilder.getMaxConnectionsPerHost(FileSystemOptions opts)
Gets the maximum number of connections allowed per host.
|
int |
Http4FileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts)
Gets the maximum number of connections allowed.
|
UserAuthenticator |
Http4FileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts)
Gets the proxy authenticator where the system should get the credentials from.
|
String |
Http4FileSystemConfigBuilder.getProxyHost(FileSystemOptions opts)
Gets the proxy to use for http connection.
|
int |
Http4FileSystemConfigBuilder.getProxyPort(FileSystemOptions opts)
Gets the proxy-port to use for http the connection.
|
String |
Http4FileSystemConfigBuilder.getProxyScheme(FileSystemOptions opts)
Gets the proxy-scheme to use for http the connection.
|
int |
Http4FileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts)
Deprecated.
|
Duration |
Http4FileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions opts)
Gets the socket timeout.
|
String |
Http4FileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts)
Sets the charset used for url encoding.
|
String |
Http4FileSystemConfigBuilder.getUserAgent(FileSystemOptions opts)
Gets the user agent string
|
boolean |
Http4FileSystemConfigBuilder.isHostnameVerificationEnabled(FileSystemOptions opts)
Determines if the hostname should be verified in SSL context.
|
boolean |
Http4FileSystemConfigBuilder.isKeepAlive(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that HTTP Keep-Alive is respected.
|
boolean |
Http4FileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that preemptive authentication is requested.
|
void |
Http4FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
Duration connectionTimeout)
Sets the connection timeout.
|
void |
Http4FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
int connectionTimeout)
|
void |
Http4FileSystemConfigBuilder.setCookies(FileSystemOptions opts,
org.apache.http.cookie.Cookie[] cookies)
The cookies to add to the request.
|
void |
Http4FileSystemConfigBuilder.setFollowRedirect(FileSystemOptions opts,
boolean redirect)
Sets whether to follow redirects for the connection.
|
void |
Http4FileSystemConfigBuilder.setHostnameVerificationEnabled(FileSystemOptions opts,
boolean hostnameVerificationEnabled)
Sets if the hostname should be verified in SSL context.
|
void |
Http4FileSystemConfigBuilder.setKeepAlive(FileSystemOptions opts,
boolean keepAlive)
Sets if the FileSystemOptions indicate that HTTP Keep-Alive is respected.
|
void |
Http4FileSystemConfigBuilder.setKeyStoreFile(FileSystemOptions opts,
String keyStoreFile)
Set keystore file path for SSL connections.
|
void |
Http4FileSystemConfigBuilder.setKeyStorePass(FileSystemOptions opts,
String keyStorePass)
Set keystore pass phrase for SSL connecdtions.
|
void |
Http4FileSystemConfigBuilder.setKeyStoreType(FileSystemOptions opts,
String keyStoreType)
Set keystore type for SSL connections.
|
void |
Http4FileSystemConfigBuilder.setMaxConnectionsPerHost(FileSystemOptions opts,
int maxHostConnections)
Sets the maximum number of connections allowed to any host.
|
void |
Http4FileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts,
int maxTotalConnections)
Sets the maximum number of connections allowed.
|
void |
Http4FileSystemConfigBuilder.setPreemptiveAuth(FileSystemOptions opts,
boolean preemptiveAuth)
Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.
|
void |
Http4FileSystemConfigBuilder.setProxyAuthenticator(FileSystemOptions opts,
UserAuthenticator authenticator)
Sets the proxy authenticator where the system should get the credentials from.
|
void |
Http4FileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
String proxyHost)
Sets the proxy to use for http connection.
|
void |
Http4FileSystemConfigBuilder.setProxyPort(FileSystemOptions opts,
int proxyPort)
Sets the proxy-port to use for http connection.
|
void |
Http4FileSystemConfigBuilder.setProxyScheme(FileSystemOptions opts,
String proxyScheme)
Sets the proxy-scheme to use for http connection.
|
void |
Http4FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
Duration soTimeout)
Sets the socket timeout.
|
void |
Http4FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
int soTimeout)
|
void |
Http4FileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts,
String charset)
Sets the charset used for URL encoding.
|
void |
Http4FileSystemConfigBuilder.setUserAgent(FileSystemOptions opts,
String userAgent)
Sets the user agent to attach to the outgoing http methods
|
Constructor and Description |
---|
Http4FileSystem(FileName rootName,
FileSystemOptions fileSystemOptions,
org.apache.http.client.HttpClient httpClient,
org.apache.http.client.protocol.HttpClientContext httpClientContext)
Construct
Http4FileSystem . |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hc.client5.http.classic.HttpClient |
Http5FileProvider.createHttpClient(Http5FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions)
Create an
HttpClient object for an http4 file system. |
protected org.apache.hc.client5.http.impl.classic.HttpClientBuilder |
Http5FileProvider.createHttpClientBuilder(Http5FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions)
Create an
HttpClientBuilder object. |
protected org.apache.hc.client5.http.protocol.HttpClientContext |
Http5FileProvider.createHttpClientContext(Http5FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions,
UserAuthenticationData authData)
Create an
HttpClientContext object for an http4 file system. |
protected SSLContext |
Http5FileProvider.createSSLContext(Http5FileSystemConfigBuilder builder,
FileSystemOptions fileSystemOptions)
Create
SSLContext for HttpClient. |
protected FileSystem |
Http5FileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
int |
Http5FileSystemConfigBuilder.getConnectionTimeout(FileSystemOptions opts)
|
Duration |
Http5FileSystemConfigBuilder.getConnectionTimeoutDuration(FileSystemOptions opts)
Gets the connection timeout.
|
org.apache.hc.client5.http.cookie.Cookie[] |
Http5FileSystemConfigBuilder.getCookies(FileSystemOptions opts)
Gets the cookies to add to the request.
|
boolean |
Http5FileSystemConfigBuilder.getFollowRedirect(FileSystemOptions opts)
Gets whether to follow redirects for the connection.
|
String |
Http5FileSystemConfigBuilder.getKeyStoreFile(FileSystemOptions opts)
Return keystore file path to be used in SSL connections.
|
String |
Http5FileSystemConfigBuilder.getKeyStoreType(FileSystemOptions opts)
Get keystore type for SSL connections.
|
int |
Http5FileSystemConfigBuilder.getMaxConnectionsPerHost(FileSystemOptions opts)
Gets the maximum number of connections allowed per host.
|
int |
Http5FileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts)
Gets the maximum number of connections allowed.
|
UserAuthenticator |
Http5FileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts)
Gets the proxy authenticator where the system should get the credentials from.
|
String |
Http5FileSystemConfigBuilder.getProxyHost(FileSystemOptions opts)
Gets the proxy to use for http connection.
|
int |
Http5FileSystemConfigBuilder.getProxyPort(FileSystemOptions opts)
Gets the proxy-port to use for http the connection.
|
String |
Http5FileSystemConfigBuilder.getProxyScheme(FileSystemOptions opts)
Gets the proxy-scheme to use for http the connection.
|
int |
Http5FileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts)
Deprecated.
|
Duration |
Http5FileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions opts)
Gets the socket timeout.
|
String |
Http5FileSystemConfigBuilder.getTlsVersions(FileSystemOptions opts)
Gets the enabled TLS versions as a comma separated string, each token of which is the name of
org.apache.hc.core5.http.ssl.TLS enum. |
String |
Http5FileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts)
Gets the charset used for url encoding.
|
String |
Http5FileSystemConfigBuilder.getUserAgent(FileSystemOptions opts)
Gets the user agent string
|
boolean |
Http5FileSystemConfigBuilder.isHostnameVerificationEnabled(FileSystemOptions opts)
Determines if the hostname should be verified in SSL context.
|
boolean |
Http5FileSystemConfigBuilder.isKeepAlive(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that HTTP Keep-Alive is respected.
|
boolean |
Http5FileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that preemptive authentication is requested.
|
void |
Http5FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
Duration connectionTimeout)
Sets the connection timeout.
|
void |
Http5FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts,
int connectionTimeout)
|
void |
Http5FileSystemConfigBuilder.setCookies(FileSystemOptions opts,
org.apache.hc.client5.http.cookie.Cookie[] cookies)
The cookies to add to the request.
|
void |
Http5FileSystemConfigBuilder.setFollowRedirect(FileSystemOptions opts,
boolean redirect)
Sets whether to follow redirects for the connection.
|
void |
Http5FileSystemConfigBuilder.setHostnameVerificationEnabled(FileSystemOptions opts,
boolean hostnameVerificationEnabled)
Sets if the hostname should be verified in SSL context.
|
void |
Http5FileSystemConfigBuilder.setKeepAlive(FileSystemOptions opts,
boolean keepAlive)
Sets if the FileSystemOptions indicate that HTTP Keep-Alive is respected.
|
void |
Http5FileSystemConfigBuilder.setKeyStoreFile(FileSystemOptions opts,
String keyStoreFile)
Set keystore file path for SSL connections.
|
void |
Http5FileSystemConfigBuilder.setKeyStorePass(FileSystemOptions opts,
String keyStorePass)
Set keystore pass phrase for SSL connecdtions.
|
void |
Http5FileSystemConfigBuilder.setKeyStoreType(FileSystemOptions opts,
String keyStoreType)
Set keystore type for SSL connections.
|
void |
Http5FileSystemConfigBuilder.setMaxConnectionsPerHost(FileSystemOptions opts,
int maxHostConnections)
Sets the maximum number of connections allowed to any host.
|
void |
Http5FileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts,
int maxTotalConnections)
Sets the maximum number of connections allowed.
|
void |
Http5FileSystemConfigBuilder.setPreemptiveAuth(FileSystemOptions opts,
boolean preemptiveAuth)
Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.
|
void |
Http5FileSystemConfigBuilder.setProxyAuthenticator(FileSystemOptions opts,
UserAuthenticator authenticator)
Sets the proxy authenticator where the system should get the credentials from.
|
void |
Http5FileSystemConfigBuilder.setProxyHost(FileSystemOptions opts,
String proxyHost)
Sets the proxy to use for http connection.
|
void |
Http5FileSystemConfigBuilder.setProxyPort(FileSystemOptions opts,
int proxyPort)
Sets the proxy-port to use for http connection.
|
void |
Http5FileSystemConfigBuilder.setProxyScheme(FileSystemOptions opts,
String proxyScheme)
Sets the proxy-scheme to use for http connection.
|
void |
Http5FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
Duration soTimeout)
The socket timeout.
|
void |
Http5FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts,
int soTimeout)
|
void |
Http5FileSystemConfigBuilder.setTlsVersions(FileSystemOptions opts,
String tlsVersions)
Sets the enabled TLS versions as a comma separated string, each token of which is the name of
org.apache.hc.core5.http.ssl.TLS enum. |
void |
Http5FileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts,
String charset)
Sets the charset used for url encoding.
|
void |
Http5FileSystemConfigBuilder.setUserAgent(FileSystemOptions opts,
String userAgent)
Sets the user agent to attach to the outgoing http methods
|
Constructor and Description |
---|
Http5FileSystem(FileName rootName,
FileSystemOptions fileSystemOptions,
org.apache.hc.client5.http.classic.HttpClient httpClient,
org.apache.hc.client5.http.protocol.HttpClientContext httpClientContext)
Construct
Http4FileSystem . |
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 file system.
|
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 options)
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 options) |
com.jcraft.jsch.ConfigRepository |
SftpFileSystemConfigBuilder.getConfigRepository(FileSystemOptions options)
Gets the config repository.
|
Duration |
SftpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions options)
Gets the connect timeout duration.
|
Integer |
SftpFileSystemConfigBuilder.getConnectTimeoutMillis(FileSystemOptions options)
Deprecated.
|
String |
SftpFileSystemConfigBuilder.getFileNameEncoding(FileSystemOptions options)
Gets the file name encoding.
|
File[] |
SftpFileSystemConfigBuilder.getIdentities(FileSystemOptions options)
Deprecated.
|
IdentityInfo[] |
SftpFileSystemConfigBuilder.getIdentityInfo(FileSystemOptions options)
Gets the identity infos.
|
IdentityProvider[] |
SftpFileSystemConfigBuilder.getIdentityProvider(FileSystemOptions options)
Gets the identity providers.
|
IdentityRepositoryFactory |
SftpFileSystemConfigBuilder.getIdentityRepositoryFactory(FileSystemOptions options)
Get the identity repository factory.
|
String |
SftpFileSystemConfigBuilder.getKeyExchangeAlgorithm(FileSystemOptions options) |
File |
SftpFileSystemConfigBuilder.getKnownHosts(FileSystemOptions options) |
String |
SftpFileSystemConfigBuilder.getPreferredAuthentications(FileSystemOptions options)
Gets authentication order.
|
String |
SftpFileSystemConfigBuilder.getProxyCommand(FileSystemOptions options)
Gets the command that will be run on the proxy host when using a SftpStreamProxy.
|
String |
SftpFileSystemConfigBuilder.getProxyHost(FileSystemOptions options)
Gets the proxy to use for the SFTP connection.
|
FileSystemOptions |
SftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions options)
Gets the proxy options that are used to connect to the proxy host.
|
String |
SftpFileSystemConfigBuilder.getProxyPassword(FileSystemOptions options)
Gets the proxy password that are used to connect to the proxy host.
|
int |
SftpFileSystemConfigBuilder.getProxyPort(FileSystemOptions options)
Gets the proxy-port to use for the SFTP the connection.
|
SftpFileSystemConfigBuilder.ProxyType |
SftpFileSystemConfigBuilder.getProxyType(FileSystemOptions options)
Gets the proxy type to use for the SFTP connection.
|
String |
SftpFileSystemConfigBuilder.getProxyUser(FileSystemOptions options)
Gets the user name for the proxy used for the SFTP connection.
|
Duration |
SftpFileSystemConfigBuilder.getSessionTimeout(FileSystemOptions options) |
Integer |
SftpFileSystemConfigBuilder.getSessionTimeoutMillis(FileSystemOptions options)
Deprecated.
|
String |
SftpFileSystemConfigBuilder.getStrictHostKeyChecking(FileSystemOptions options) |
Integer |
SftpFileSystemConfigBuilder.getTimeout(FileSystemOptions options)
|
Boolean |
SftpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions options)
Returns
Boolean.TRUE if VFS should treat the user directory as the root directory. |
com.jcraft.jsch.UserInfo |
SftpFileSystemConfigBuilder.getUserInfo(FileSystemOptions options) |
boolean |
SftpFileSystemConfigBuilder.isDisableDetectExecChannel(FileSystemOptions options)
Returns
true if the detection of the exec channel should be disabled. |
boolean |
SftpFileSystemConfigBuilder.isLoadOpenSSHConfig(FileSystemOptions options)
Returns
Boolean.TRUE if VFS should load the OpenSSH config. |
void |
SftpFileSystemConfigBuilder.setCompression(FileSystemOptions options,
String compression)
Configures the compression algorithms to use.
|
void |
SftpFileSystemConfigBuilder.setConfigRepository(FileSystemOptions options,
com.jcraft.jsch.ConfigRepository configRepository)
Sets the config repository.
|
void |
SftpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions options,
Duration timeout)
Sets the timeout value to create a Jsch connection.
|
void |
SftpFileSystemConfigBuilder.setConnectTimeoutMillis(FileSystemOptions options,
Integer timeout)
|
void |
SftpFileSystemConfigBuilder.setDisableDetectExecChannel(FileSystemOptions options,
boolean disableDetectExecChannel)
Sets whether detection of exec channel is disabled.
|
void |
SftpFileSystemConfigBuilder.setFileNameEncoding(FileSystemOptions options,
String fileNameEncoding)
Sets the file name encoding.
|
void |
SftpFileSystemConfigBuilder.setIdentities(FileSystemOptions options,
File... identityFiles)
Deprecated.
|
void |
SftpFileSystemConfigBuilder.setIdentityInfo(FileSystemOptions options,
IdentityInfo... identites)
|
void |
SftpFileSystemConfigBuilder.setIdentityProvider(FileSystemOptions options,
IdentityProvider... identites)
Sets the identity info (your private key files).
|
void |
SftpFileSystemConfigBuilder.setIdentityRepositoryFactory(FileSystemOptions options,
IdentityRepositoryFactory factory)
Sets the identity repository.
|
void |
SftpFileSystemConfigBuilder.setKeyExchangeAlgorithm(FileSystemOptions options,
String keyExchangeAlgoritm)
Configures Key exchange algorithm explicitly e.g diffie-hellman-group14-sha1,
diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1
|
void |
SftpFileSystemConfigBuilder.setKnownHosts(FileSystemOptions options,
File knownHosts)
Sets the known_hosts file.
|
void |
SftpFileSystemConfigBuilder.setLoadOpenSSHConfig(FileSystemOptions options,
boolean loadOpenSSHConfig)
Sets the whether to load OpenSSH config.
|
void |
SftpFileSystemConfigBuilder.setPreferredAuthentications(FileSystemOptions options,
String preferredAuthentications)
Configures authentication order.
|
void |
SftpFileSystemConfigBuilder.setProxyCommand(FileSystemOptions options,
String proxyCommand)
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyHost(FileSystemOptions options,
String proxyHost)
Sets the proxy to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyOptions(FileSystemOptions options,
FileSystemOptions proxyOptions)
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyPassword(FileSystemOptions options,
String proxyPassword)
Sets the proxy password to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyPort(FileSystemOptions options,
int proxyPort)
Sets the proxy port to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyType(FileSystemOptions options,
SftpFileSystemConfigBuilder.ProxyType proxyType)
Sets the proxy type to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setProxyUser(FileSystemOptions options,
String proxyUser)
Sets the proxy username to use for the SFTP connection.
|
void |
SftpFileSystemConfigBuilder.setSessionTimeout(FileSystemOptions options,
Duration timeout)
Sets the timeout value on Jsch session.
|
void |
SftpFileSystemConfigBuilder.setSessionTimeoutMillis(FileSystemOptions options,
Integer timeout)
|
void |
SftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions options,
String hostKeyChecking)
Configures the host key checking to use.
|
void |
SftpFileSystemConfigBuilder.setTimeout(FileSystemOptions options,
Integer timeout)
|
void |
SftpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions options,
boolean userDirIsRoot)
Sets the whether to use the user directory as root (do not change to file system root).
|
void |
SftpFileSystemConfigBuilder.setUserInfo(FileSystemOptions options,
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 fileSystemOptions)
Locates a file object, by absolute URI.
|
Modifier and Type | Method and Description |
---|---|
FileObject |
UrlFileProvider.findFile(FileObject baseFile,
String fileUri,
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.
|
Charset |
ZipFileSystemConfigBuilder.getCharset(FileSystemOptions opts) |
void |
ZipFileSystemConfigBuilder.setCharset(FileSystemOptions opts,
Charset charset) |
Constructor and Description |
---|
ZipFileSystem(AbstractFileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(FileSystemOptions options,
UserAuthenticationData.Type[] authenticatorTypes)
Authenticates if there is an authenticator, else returns null.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigClass(FileSystemOptions fso,
String scheme,
String name,
Class<?> className)
Sets a single class value.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigClasses(FileSystemOptions fso,
String scheme,
String name,
Class<?>[] classNames)
Sets an array of class values.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigString(FileSystemOptions fso,
String scheme,
String name,
String value)
Sets a single string value.
|
void |
DelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso,
String scheme,
String name,
String[] values)
Sets an array of string value.
|
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.