Interface FileOptionsProvider
public interface FileOptionsProvider
Some FileSystems allow options to be passed on File operations. Users of commons configuration can implement this
interface and register it with the FileSystem.
- Since:
- 1.7
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Key used to identify the user to be associated with the current file operations.static final String
Key used to identify the maximum number of connections allowed to a single host.static final String
Key used to identify the maximum number of connections allowed to all hosts.static final String
Key used to identify the proxy host to connect through.static final String
Key used to identify the proxy port to connect through.static final String
Key used to indicate whether WebDAV versioning support should be enabled. -
Method Summary
-
Field Details
-
CURRENT_USER
Key used to identify the user to be associated with the current file operations. The value associated with this key is a String identifying the current user.- See Also:
-
VERSIONING
Key used to indicate whether WebDAV versioning support should be enabled. The value associated with this key is a Boolean where True indicates versioning should be enabled.- See Also:
-
PROXY_HOST
Key used to identify the proxy host to connect through. The value associated with this key is a String identifying the host name of the proxy.- See Also:
-
PROXY_PORT
Key used to identify the proxy port to connect through. The value associated with this key is an Integer identifying the port on the proxy.- See Also:
-
MAX_HOST_CONNECTIONS
Key used to identify the maximum number of connections allowed to a single host. The value associated with this key is an Integer identifying the maximum number of connections allowed to a single host.- See Also:
-
MAX_TOTAL_CONNECTIONS
Key used to identify the maximum number of connections allowed to all hosts. The value associated with this key is an Integer identifying the maximum number of connections allowed to all hosts.- See Also:
-
-
Method Details
-
getOptions
- Returns:
- Options to be used for this file.
-