public class LayeredFileName extends AbstractFileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR| Constructor and Description |
|---|
LayeredFileName(String scheme,
FileName outerUri,
String path,
FileType type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendRootUri(StringBuilder buffer,
boolean addPassword)
Builds the root URI for this file name.
|
FileName |
createName(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, isFile, toStringpublic FileName getOuterName()
public FileName createName(String path, FileType type)
createName in class AbstractFileNamepath - The file URI.type - The FileType.protected void appendRootUri(StringBuilder buffer, boolean addPassword)
AbstractFileNameappendRootUri in class AbstractFileNamebuffer - A StringBuilder to use to construct the URI.addPassword - true if the password should be added, false otherwise.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.