public class WindowsFileName extends LocalFileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
Modifier | Constructor | Description |
---|---|---|
protected |
WindowsFileName(java.lang.String scheme,
java.lang.String rootFile,
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) |
Factory method for creating name instances.
|
checkName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, isFile
getFriendlyURI, getRootFile, getURI, toString
protected WindowsFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
public FileName createName(java.lang.String path, FileType type)
createName
in class LocalFileName
path
- The file path.type
- The file type.protected void appendRootUri(java.lang.StringBuilder buffer, boolean addPassword)
appendRootUri
in class LocalFileName
buffer
- A StringBuilder to use to construct the URI.addPassword
- true if the password should be added, false otherwise.