public class GenericFileNameParser extends LocalFileNameParser
Constructor and Description |
---|
GenericFileNameParser() |
Modifier and Type | Method and Description |
---|---|
protected FileName |
createFileName(String scheme,
String rootFile,
String path,
FileType type) |
protected String |
extractRootPrefix(String uri,
StringBuilder name)
Pops the root prefix off a URI, which has had the scheme removed.
|
static GenericFileNameParser |
getInstance()
retrieve a instance to this parser.
|
isAbsoluteName, parseUri
encodeCharacter
public static GenericFileNameParser getInstance()
protected String extractRootPrefix(String uri, StringBuilder name) throws FileSystemException
extractRootPrefix
in class LocalFileNameParser
FileSystemException
protected FileName createFileName(String scheme, String rootFile, String path, FileType type)
createFileName
in class LocalFileNameParser
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.