FileNameParser
public class WindowsFileNameParser extends LocalFileNameParser
Constructor | Description |
---|---|
WindowsFileNameParser() |
Modifier and Type | Method | Description |
---|---|---|
protected FileName |
createFileName(java.lang.String scheme,
java.lang.String rootFile,
java.lang.String path,
FileType type) |
|
protected java.lang.String |
extractRootPrefix(java.lang.String uri,
java.lang.StringBuilder name) |
Pops the root prefix off a URI, which has had the scheme removed.
|
encodeCharacter
isAbsoluteName, parseUri
public WindowsFileNameParser()
protected java.lang.String extractRootPrefix(java.lang.String uri, java.lang.StringBuilder name) throws FileSystemException
extractRootPrefix
in class LocalFileNameParser
uri
- the whole URI for error reporting.name
- the URI to modify.FileSystemException
- if an error occurs.protected FileName createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
createFileName
in class LocalFileNameParser