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 java.lang.Object
Abstract class which has the right to fill FileSystemOptions.
- Version:
- $Revision: 804548 $ $Date: 2009-08-16 04:12:32 +0200 (So, 16. Aug 2009) $
- Author:
- Mario Ivankovits
Method Summary |
protected java.lang.Boolean |
getBoolean(FileSystemOptions opts,
java.lang.String name)
|
protected boolean |
getBoolean(FileSystemOptions opts,
java.lang.String name,
boolean defaultValue)
|
protected java.lang.Boolean |
getBoolean(FileSystemOptions opts,
java.lang.String name,
java.lang.Boolean defaultValue)
|
protected java.lang.Byte |
getByte(FileSystemOptions opts,
java.lang.String name)
|
protected byte |
getByte(FileSystemOptions opts,
java.lang.String name,
byte defaultValue)
|
protected java.lang.Byte |
getByte(FileSystemOptions opts,
java.lang.String name,
java.lang.Byte defaultValue)
|
protected java.lang.Character |
getCharacter(FileSystemOptions opts,
java.lang.String name)
|
protected char |
getCharacter(FileSystemOptions opts,
java.lang.String name,
char defaultValue)
|
protected java.lang.Character |
getCharacter(FileSystemOptions opts,
java.lang.String name,
java.lang.Character defaultValue)
|
protected abstract java.lang.Class |
getConfigClass()
|
protected java.lang.Double |
getDouble(FileSystemOptions opts,
java.lang.String name)
|
protected double |
getDouble(FileSystemOptions opts,
java.lang.String name,
double defaultValue)
|
protected java.lang.Double |
getDouble(FileSystemOptions opts,
java.lang.String name,
java.lang.Double defaultValue)
|
protected java.lang.Float |
getFloat(FileSystemOptions opts,
java.lang.String name)
|
protected float |
getFloat(FileSystemOptions opts,
java.lang.String name,
float defaultValue)
|
protected java.lang.Float |
getFloat(FileSystemOptions opts,
java.lang.String name,
java.lang.Float defaultValue)
|
protected java.lang.Integer |
getInteger(FileSystemOptions opts,
java.lang.String name)
|
protected int |
getInteger(FileSystemOptions opts,
java.lang.String name,
int defaultValue)
|
protected java.lang.Integer |
getInteger(FileSystemOptions opts,
java.lang.String name,
java.lang.Integer defaultValue)
|
protected java.lang.Long |
getLong(FileSystemOptions opts,
java.lang.String name)
|
protected long |
getLong(FileSystemOptions opts,
java.lang.String name,
long defaultValue)
|
protected java.lang.Long |
getLong(FileSystemOptions opts,
java.lang.String name,
java.lang.Long defaultValue)
|
protected java.lang.Object |
getParam(FileSystemOptions opts,
java.lang.String name)
|
java.lang.String |
getRootURI(FileSystemOptions opts)
Return the root URI of the file system. |
protected java.lang.Short |
getShort(FileSystemOptions opts,
java.lang.String name)
|
protected short |
getShort(FileSystemOptions opts,
java.lang.String name,
short defaultValue)
|
protected java.lang.Short |
getShort(FileSystemOptions opts,
java.lang.String name,
java.lang.Short defaultValue)
|
protected java.lang.String |
getString(FileSystemOptions opts,
java.lang.String name)
|
protected java.lang.String |
getString(FileSystemOptions opts,
java.lang.String name,
java.lang.String defaultValue)
|
protected boolean |
hasObject(FileSystemOptions opts,
java.lang.String name)
|
protected boolean |
hasParam(FileSystemOptions opts,
java.lang.String name)
|
protected void |
setParam(FileSystemOptions opts,
java.lang.String name,
java.lang.Object value)
|
void |
setRootURI(FileSystemOptions opts,
java.lang.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(java.lang.String component)
setRootURI
public void setRootURI(FileSystemOptions opts,
java.lang.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 java.lang.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,
java.lang.String name,
java.lang.Object value)
getParam
protected java.lang.Object getParam(FileSystemOptions opts,
java.lang.String name)
hasParam
protected boolean hasParam(FileSystemOptions opts,
java.lang.String name)
hasObject
protected boolean hasObject(FileSystemOptions opts,
java.lang.String name)
getBoolean
protected java.lang.Boolean getBoolean(FileSystemOptions opts,
java.lang.String name)
getBoolean
protected boolean getBoolean(FileSystemOptions opts,
java.lang.String name,
boolean defaultValue)
getBoolean
protected java.lang.Boolean getBoolean(FileSystemOptions opts,
java.lang.String name,
java.lang.Boolean defaultValue)
getByte
protected java.lang.Byte getByte(FileSystemOptions opts,
java.lang.String name)
getByte
protected byte getByte(FileSystemOptions opts,
java.lang.String name,
byte defaultValue)
getByte
protected java.lang.Byte getByte(FileSystemOptions opts,
java.lang.String name,
java.lang.Byte defaultValue)
getCharacter
protected java.lang.Character getCharacter(FileSystemOptions opts,
java.lang.String name)
getCharacter
protected char getCharacter(FileSystemOptions opts,
java.lang.String name,
char defaultValue)
getCharacter
protected java.lang.Character getCharacter(FileSystemOptions opts,
java.lang.String name,
java.lang.Character defaultValue)
getDouble
protected java.lang.Double getDouble(FileSystemOptions opts,
java.lang.String name)
getDouble
protected double getDouble(FileSystemOptions opts,
java.lang.String name,
double defaultValue)
getDouble
protected java.lang.Double getDouble(FileSystemOptions opts,
java.lang.String name,
java.lang.Double defaultValue)
getFloat
protected java.lang.Float getFloat(FileSystemOptions opts,
java.lang.String name)
getFloat
protected float getFloat(FileSystemOptions opts,
java.lang.String name,
float defaultValue)
getFloat
protected java.lang.Float getFloat(FileSystemOptions opts,
java.lang.String name,
java.lang.Float defaultValue)
getInteger
protected java.lang.Integer getInteger(FileSystemOptions opts,
java.lang.String name)
getInteger
protected int getInteger(FileSystemOptions opts,
java.lang.String name,
int defaultValue)
getInteger
protected java.lang.Integer getInteger(FileSystemOptions opts,
java.lang.String name,
java.lang.Integer defaultValue)
getLong
protected java.lang.Long getLong(FileSystemOptions opts,
java.lang.String name)
getLong
protected long getLong(FileSystemOptions opts,
java.lang.String name,
long defaultValue)
getLong
protected java.lang.Long getLong(FileSystemOptions opts,
java.lang.String name,
java.lang.Long defaultValue)
getShort
protected java.lang.Short getShort(FileSystemOptions opts,
java.lang.String name)
getShort
protected short getShort(FileSystemOptions opts,
java.lang.String name,
short defaultValue)
getShort
protected java.lang.Short getShort(FileSystemOptions opts,
java.lang.String name,
java.lang.Short defaultValue)
getString
protected java.lang.String getString(FileSystemOptions opts,
java.lang.String name)
getString
protected java.lang.String getString(FileSystemOptions opts,
java.lang.String name,
java.lang.String defaultValue)
getConfigClass
protected abstract java.lang.Class getConfigClass()
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.