public class VirtualFileName extends AbstractFileName
EMPTY_ARRAY, ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
Constructor and Description |
---|
VirtualFileName(String scheme,
String absPath,
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 absPath,
FileType type)
Factory method for creating name instances.
|
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 FileName createName(String absPath, FileType type)
AbstractFileName
createName
in class AbstractFileName
absPath
- The absolute path.type
- The FileType.protected void appendRootUri(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–2020 The Apache Software Foundation. All rights reserved.