public abstract class FileSystemConfigBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
FileSystemConfigBuilder() |
protected |
FileSystemConfigBuilder(String component) |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
getBoolean(FileSystemOptions opts,
String name) |
protected boolean |
getBoolean(FileSystemOptions opts,
String name,
boolean defaultValue) |
protected Boolean |
getBoolean(FileSystemOptions opts,
String name,
Boolean defaultValue) |
protected Byte |
getByte(FileSystemOptions opts,
String name) |
protected byte |
getByte(FileSystemOptions opts,
String name,
byte defaultValue) |
protected Byte |
getByte(FileSystemOptions opts,
String name,
Byte defaultValue) |
protected Character |
getCharacter(FileSystemOptions opts,
String name) |
protected char |
getCharacter(FileSystemOptions opts,
String name,
char defaultValue) |
protected Character |
getCharacter(FileSystemOptions opts,
String name,
Character defaultValue) |
protected abstract Class<? extends FileSystem> |
getConfigClass() |
protected Double |
getDouble(FileSystemOptions opts,
String name) |
protected double |
getDouble(FileSystemOptions opts,
String name,
double defaultValue) |
protected Double |
getDouble(FileSystemOptions opts,
String name,
Double defaultValue) |
protected Float |
getFloat(FileSystemOptions opts,
String name) |
protected float |
getFloat(FileSystemOptions opts,
String name,
float defaultValue) |
protected Float |
getFloat(FileSystemOptions opts,
String name,
Float defaultValue) |
protected Integer |
getInteger(FileSystemOptions opts,
String name) |
protected int |
getInteger(FileSystemOptions opts,
String name,
int defaultValue) |
protected Integer |
getInteger(FileSystemOptions opts,
String name,
Integer defaultValue) |
protected Long |
getLong(FileSystemOptions opts,
String name) |
protected long |
getLong(FileSystemOptions opts,
String name,
long defaultValue) |
protected Long |
getLong(FileSystemOptions opts,
String name,
Long defaultValue) |
protected Object |
getParam(FileSystemOptions opts,
String name) |
String |
getRootURI(FileSystemOptions opts)
Return the root URI of the file system.
|
protected Short |
getShort(FileSystemOptions opts,
String name) |
protected short |
getShort(FileSystemOptions opts,
String name,
short defaultValue) |
protected Short |
getShort(FileSystemOptions opts,
String name,
Short defaultValue) |
protected String |
getString(FileSystemOptions opts,
String name) |
protected String |
getString(FileSystemOptions opts,
String name,
String defaultValue) |
protected boolean |
hasObject(FileSystemOptions opts,
String name) |
protected boolean |
hasParam(FileSystemOptions opts,
String name) |
protected void |
setParam(FileSystemOptions opts,
String name,
Object value) |
void |
setRootURI(FileSystemOptions opts,
String rootURI)
The root URI of the file system.
|
protected FileSystemConfigBuilder()
protected FileSystemConfigBuilder(String component)
public void setRootURI(FileSystemOptions opts, String rootURI)
opts
- The FileSystem optionsrootURI
- The creator name to be associated with the file.public String getRootURI(FileSystemOptions opts)
opts
- The FileSystem optionsprotected void setParam(FileSystemOptions opts, String name, Object value)
protected Object getParam(FileSystemOptions opts, String name)
protected boolean hasParam(FileSystemOptions opts, String name)
protected boolean hasObject(FileSystemOptions opts, String name)
protected Boolean getBoolean(FileSystemOptions opts, String name)
protected boolean getBoolean(FileSystemOptions opts, String name, boolean defaultValue)
protected Boolean getBoolean(FileSystemOptions opts, String name, Boolean defaultValue)
protected Byte getByte(FileSystemOptions opts, String name)
protected byte getByte(FileSystemOptions opts, String name, byte defaultValue)
protected Byte getByte(FileSystemOptions opts, String name, Byte defaultValue)
protected Character getCharacter(FileSystemOptions opts, String name)
protected char getCharacter(FileSystemOptions opts, String name, char defaultValue)
protected Character getCharacter(FileSystemOptions opts, String name, Character defaultValue)
protected Double getDouble(FileSystemOptions opts, String name)
protected double getDouble(FileSystemOptions opts, String name, double defaultValue)
protected Double getDouble(FileSystemOptions opts, String name, Double defaultValue)
protected Float getFloat(FileSystemOptions opts, String name)
protected float getFloat(FileSystemOptions opts, String name, float defaultValue)
protected Float getFloat(FileSystemOptions opts, String name, Float defaultValue)
protected Integer getInteger(FileSystemOptions opts, String name)
protected int getInteger(FileSystemOptions opts, String name, int defaultValue)
protected Integer getInteger(FileSystemOptions opts, String name, Integer defaultValue)
protected Long getLong(FileSystemOptions opts, String name)
protected long getLong(FileSystemOptions opts, String name, long defaultValue)
protected Long getLong(FileSystemOptions opts, String name, Long defaultValue)
protected Short getShort(FileSystemOptions opts, String name)
protected short getShort(FileSystemOptions opts, String name, short defaultValue)
protected Short getShort(FileSystemOptions opts, String name, Short defaultValue)
protected String getString(FileSystemOptions opts, String name)
protected String getString(FileSystemOptions opts, String name, String defaultValue)
protected abstract Class<? extends FileSystem> getConfigClass()
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.