FileNameParser
public class GenericFileNameParser extends LocalFileNameParser
Constructor | Description |
---|---|
GenericFileNameParser() |
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.StringBuffer name) |
Pops the root prefix off a URI, which has had the scheme removed.
|
static GenericFileNameParser |
getInstance() |
retrieve a instance to this parser
|
encodeCharacter
isAbsoluteName, parseUri
public static GenericFileNameParser getInstance()
protected java.lang.String extractRootPrefix(java.lang.String uri, java.lang.StringBuffer name) throws FileSystemException
extractRootPrefix
in class LocalFileNameParser
FileSystemException
protected FileName createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
createFileName
in class LocalFileNameParser