org.apache.commons.vfs
Class FileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs.FileSystemConfigBuilder
- Direct Known Subclasses:
- DefaultFileSystemConfigBuilder, FtpFileSystemConfigBuilder, HttpFileSystemConfigBuilder, RamFileSystemConfigBuilder, ResourceFileSystemConfigBuilder, SftpFileSystemConfigBuilder
public abstract class FileSystemConfigBuilder
- extends Object
Abstract class which has the right to fill FileSystemOptions.
- Version:
- $Revision: 804548 $ $Date: 2009-08-16 04:12:32 +0200(dom, 16 ago 2009) $
- Author:
- Mario Ivankovits
Method Summary |
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 |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemConfigBuilder
protected FileSystemConfigBuilder()
FileSystemConfigBuilder
protected FileSystemConfigBuilder(String component)
setRootURI
public void setRootURI(FileSystemOptions opts,
String rootURI)
- The root URI of the file system.
- Parameters:
opts
- The FileSystem optionsrootURI
- The creator name to be associated with the file.
getRootURI
public String getRootURI(FileSystemOptions opts)
- Return the root URI of the file system.
- Parameters:
opts
- The FileSystem options
- Returns:
- The root URI.
setParam
protected void setParam(FileSystemOptions opts,
String name,
Object value)
getParam
protected Object getParam(FileSystemOptions opts,
String name)
hasParam
protected boolean hasParam(FileSystemOptions opts,
String name)
hasObject
protected boolean hasObject(FileSystemOptions opts,
String name)
getBoolean
protected Boolean getBoolean(FileSystemOptions opts,
String name)
getBoolean
protected boolean getBoolean(FileSystemOptions opts,
String name,
boolean defaultValue)
getBoolean
protected Boolean getBoolean(FileSystemOptions opts,
String name,
Boolean defaultValue)
getByte
protected Byte getByte(FileSystemOptions opts,
String name)
getByte
protected byte getByte(FileSystemOptions opts,
String name,
byte defaultValue)
getByte
protected Byte getByte(FileSystemOptions opts,
String name,
Byte defaultValue)
getCharacter
protected Character getCharacter(FileSystemOptions opts,
String name)
getCharacter
protected char getCharacter(FileSystemOptions opts,
String name,
char defaultValue)
getCharacter
protected Character getCharacter(FileSystemOptions opts,
String name,
Character defaultValue)
getDouble
protected Double getDouble(FileSystemOptions opts,
String name)
getDouble
protected double getDouble(FileSystemOptions opts,
String name,
double defaultValue)
getDouble
protected Double getDouble(FileSystemOptions opts,
String name,
Double defaultValue)
getFloat
protected Float getFloat(FileSystemOptions opts,
String name)
getFloat
protected float getFloat(FileSystemOptions opts,
String name,
float defaultValue)
getFloat
protected Float getFloat(FileSystemOptions opts,
String name,
Float defaultValue)
getInteger
protected Integer getInteger(FileSystemOptions opts,
String name)
getInteger
protected int getInteger(FileSystemOptions opts,
String name,
int defaultValue)
getInteger
protected Integer getInteger(FileSystemOptions opts,
String name,
Integer defaultValue)
getLong
protected Long getLong(FileSystemOptions opts,
String name)
getLong
protected long getLong(FileSystemOptions opts,
String name,
long defaultValue)
getLong
protected Long getLong(FileSystemOptions opts,
String name,
Long defaultValue)
getShort
protected Short getShort(FileSystemOptions opts,
String name)
getShort
protected short getShort(FileSystemOptions opts,
String name,
short defaultValue)
getShort
protected Short getShort(FileSystemOptions opts,
String name,
Short defaultValue)
getString
protected String getString(FileSystemOptions opts,
String name)
getString
protected String getString(FileSystemOptions opts,
String name,
String defaultValue)
getConfigClass
protected abstract Class getConfigClass()
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.