|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs.provider.AbstractFileNameParser
org.apache.commons.vfs.provider.LayeredFileNameParser
public class LayeredFileNameParser
Implementation for layered filesystems.
Additionally encodes the '!' character.
| Constructor Summary | |
|---|---|
LayeredFileNameParser()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayeredFileNameParser()
| Method Detail |
|---|
public static LayeredFileNameParser getInstance()
public boolean encodeCharacter(char ch)
FileNameParser
encodeCharacter in interface FileNameParserencodeCharacter in class AbstractFileNameParserch - the character
public FileName parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
throws FileSystemException
FileNameParser
FileSystemException
protected java.lang.String extractRootName(java.lang.StringBuffer uri)
throws FileSystemException
FileSystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||