public class LayeredFileName extends AbstractFileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
Constructor | Description |
---|---|
LayeredFileName(java.lang.String scheme,
FileName outerUri,
java.lang.String path,
FileType type) |
Modifier and Type | Method | 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, isFile, toString
public LayeredFileName(java.lang.String scheme, FileName outerUri, java.lang.String path, FileType type)
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.