Class ZipFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.zip.ZipFileSystemConfigBuilder
Configures
FileSystemOptionss.-
Method Summary
Modifier and TypeMethodDescriptiongetCharset(FileSystemOptions fileSystemOptions) Gets the Charset from the FileSystemOptions orStandardCharsets.UTF_8if absent.protected Class<? extends FileSystem> Gets the target of this configuration.static final ZipFileSystemConfigBuilderGets the singleton instance.voidsetCharset(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_8if absent.- Parameters:
fileSystemOptions- The source FileSystemOptions.- Returns:
- the Charset from the FileSystemOptions.
-
getConfigClass
Description copied from class:FileSystemConfigBuilderGets the target of this configuration.- Specified by:
getConfigClassin classFileSystemConfigBuilder- Returns:
- the specific file system class
-
setCharset
Sets the Charset in the FileSystemOptions.- Parameters:
fileSystemOptions- The target FileSystemOptions.charset- The Charset to set.
-