Class LayeredFileName
java.lang.Object
org.apache.commons.vfs.provider.AbstractFileName
org.apache.commons.vfs.provider.LayeredFileName
- All Implemented Interfaces:
Comparable, FileName
A file name for layered files.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
-
Field Summary
Fields inherited from interface FileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR -
Constructor Summary
ConstructorsConstructorDescriptionLayeredFileName(String scheme, FileName outerUri, String path, FileType type) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendRootUri(StringBuffer buffer, boolean addPassword) Builds the root URI for this file name.createName(String path, FileType type) Factory method for creating name instances.Returns the URI of the outer file.Methods inherited from class 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 Details
-
LayeredFileName
-
-
Method Details
-
getOuterName
Returns the URI of the outer file. -
createName
Description copied from class:AbstractFileNameFactory method for creating name instances.- Specified by:
createNamein classAbstractFileName
-
appendRootUri
Description copied from class:AbstractFileNameBuilds the root URI for this file name. Note that the root URI must not end with a separator character.- Specified by:
appendRootUriin classAbstractFileName
-