Class ZipFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.zip.ZipFileSystemConfigBuilder
Configures
FileSystemOptions
s.-
Method Summary
Modifier and TypeMethodDescriptiongetCharset
(FileSystemOptions fileSystemOptions) Gets the Charset from the FileSystemOptions orStandardCharsets.UTF_8
if absent.protected Class<? extends FileSystem>
Gets the target of this configuration.static final ZipFileSystemConfigBuilder
Gets the singleton instance.void
setCharset
(FileSystemOptions fileSystemOptions, Charset charset) Sets the Charset in the FileSystemOptions.Methods inherited from class org.apache.commons.vfs2.FileSystemConfigBuilder
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getDuration, getDuration, getDurationInteger, getDurationInteger, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getParamOrDefault, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
-
Method Details
-
getInstance
Gets the singleton instance.- Returns:
- the singleton instance.
-
getCharset
Gets the Charset from the FileSystemOptions orStandardCharsets.UTF_8
if absent.- Parameters:
fileSystemOptions
- The source FileSystemOptions.- Returns:
- the Charset from the FileSystemOptions.
-
getConfigClass
Description copied from class:FileSystemConfigBuilder
Gets the target of this configuration.- Specified by:
getConfigClass
in classFileSystemConfigBuilder
- Returns:
- the specific file system class
-
setCharset
Sets the Charset in the FileSystemOptions.- Parameters:
fileSystemOptions
- The target FileSystemOptions.charset
- The Charset to set.
-