Package org.apache.commons.vfs.impl
Class VirtualFileName
- java.lang.Object
-
- org.apache.commons.vfs.provider.AbstractFileName
-
- org.apache.commons.vfs.impl.VirtualFileName
-
- All Implemented Interfaces:
java.lang.Comparable
,FileName
public class VirtualFileName extends AbstractFileName
A simple Filename to hold the scheme for to be created virtual filesytsem.- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- imario@apache.org
-
-
Field Summary
-
Fields inherited from interface org.apache.commons.vfs.FileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
-
-
Constructor Summary
Constructors Constructor Description VirtualFileName(java.lang.String scheme, java.lang.String absPath, FileType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendRootUri(java.lang.StringBuffer buffer, boolean addPassword)
Builds the root URI for this file name.FileName
createName(java.lang.String absPath, FileType type)
Factory method for creating name instances.-
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName
checkName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, toString
-
-
-
-
Constructor Detail
-
VirtualFileName
public VirtualFileName(java.lang.String scheme, java.lang.String absPath, FileType type)
-
-
Method Detail
-
createName
public FileName createName(java.lang.String absPath, FileType type)
Description copied from class:AbstractFileName
Factory method for creating name instances.- Specified by:
createName
in classAbstractFileName
-
appendRootUri
protected void appendRootUri(java.lang.StringBuffer buffer, boolean addPassword)
Description copied from class:AbstractFileName
Builds the root URI for this file name. Note that the root URI must not end with a separator character.- Specified by:
appendRootUri
in classAbstractFileName
-
-