public class VirtualFileName extends AbstractFileName
EMPTY_ARRAY, ROOT_PATH, SEPARATOR, SEPARATOR_CHAR| Constructor and Description |
|---|
VirtualFileName(String scheme,
String absolutePath,
FileType type)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendRootUri(StringBuilder buffer,
boolean addPassword)
Builds the root URI for this file name.
|
FileName |
createName(String absolutePath,
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, toStringprotected 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.public FileName createName(String absolutePath, FileType type)
AbstractFileNamecreateName in class AbstractFileNameabsolutePath - The absolute path.type - The FileType.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.