public class LayeredFileNameParser extends AbstractFileNameParser
| Constructor and Description |
|---|
LayeredFileNameParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encodeCharacter(char ch)
Check if a character needs encoding (%nn)
|
protected java.lang.String |
extractRootName(java.lang.StringBuffer uri)
Pops the root prefix off a URI, which has had the scheme removed.
|
static LayeredFileNameParser |
getInstance() |
FileName |
parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
parses a String into a filename
|
public static LayeredFileNameParser getInstance()
public boolean encodeCharacter(char ch)
FileNameParserencodeCharacter in interface FileNameParserencodeCharacter in class AbstractFileNameParserch - the characterpublic FileName parseUri(VfsComponentContext context, FileName base, java.lang.String filename) throws FileSystemException
FileNameParserFileSystemExceptionprotected java.lang.String extractRootName(java.lang.StringBuffer uri)
throws FileSystemException
FileSystemException