public class WindowsFileNameParser extends LocalFileNameParser
Constructor and Description |
---|
WindowsFileNameParser()
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected FileName |
createFileName(String scheme,
String rootFile,
String path,
FileType type)
Creates a FileName.
|
protected String |
extractRootPrefix(String uri,
StringBuilder name)
Pops the root prefix off a URI, which has had the scheme removed.
|
isAbsoluteName, parseUri
encodeCharacter
protected FileName createFileName(String scheme, String rootFile, String path, FileType type)
LocalFileNameParser
createFileName
in class LocalFileNameParser
scheme
- The scheme.rootFile
- the root file.path
- the path.type
- the file type.protected String extractRootPrefix(String uri, 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.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.