public class ZipFileSystemConfigBuilder extends FileSystemConfigBuilder
FileSystemOptions
s.Modifier and Type | Method and Description |
---|---|
Charset |
getCharset(FileSystemOptions fileSystemOptions)
Gets the Charset from the FileSystemOptions or
StandardCharsets.UTF_8 if absent. |
protected Class<? extends FileSystem> |
getConfigClass()
Gets the target of this configuration.
|
static ZipFileSystemConfigBuilder |
getInstance()
Gets the singleton instance.
|
void |
setCharset(FileSystemOptions fileSystemOptions,
Charset charset)
Sets the Charset in the FileSystemOptions.
|
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
public static final ZipFileSystemConfigBuilder getInstance()
public Charset getCharset(FileSystemOptions fileSystemOptions)
StandardCharsets.UTF_8
if absent.fileSystemOptions
- The source FileSystemOptions.protected Class<? extends FileSystem> getConfigClass()
FileSystemConfigBuilder
getConfigClass
in class FileSystemConfigBuilder
public void setCharset(FileSystemOptions fileSystemOptions, Charset charset)
fileSystemOptions
- The target FileSystemOptions.charset
- The Charset to set.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.