org.apache.commons.vfs2.provider
public class LayeredFileName extends AbstractFileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
Constructor and Description |
---|
LayeredFileName(java.lang.String scheme,
FileName outerUri,
java.lang.String path,
FileType type) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendRootUri(java.lang.StringBuilder buffer,
boolean addPassword)
Builds the root URI for this file name.
|
FileName |
createName(java.lang.String path,
FileType type)
Create a FileName.
|
FileName |
getOuterName()
Returns the URI of the outer file.
|
checkName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, toString
public FileName getOuterName()
public FileName createName(java.lang.String path, FileType type)
createName
in class AbstractFileName
path
- The file URI.type
- The FileType.protected void appendRootUri(java.lang.StringBuilder buffer, boolean addPassword)
AbstractFileName
appendRootUri
in class AbstractFileName
buffer
- A StringBuilder to use to construct the URI.addPassword
- true if the password should be added, false otherwise.Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.