public class WindowsFileName extends LocalFileName
EMPTY_ARRAY, ROOT_PATH, SEPARATOR, SEPARATOR_CHAR| Modifier | Constructor and Description |
|---|---|
protected |
WindowsFileName(String scheme,
String rootFile,
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)
Factory method for creating name instances.
|
getRootFile, toStringcheckName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, isFileprotected void appendRootUri(StringBuilder buffer, boolean addPassword)
appendRootUri in class LocalFileNamebuffer - A StringBuilder to use to construct the URI.addPassword - true if the password should be added, false otherwise.public FileName createName(String path, FileType type)
createName in class LocalFileNamepath - The file path.type - The file type.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.