|
||||||||||
| 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.HostFileNameParser
org.apache.commons.vfs.provider.URLFileNameParser
public class URLFileNameParser
Implementation for any url based filesystem.
Parses the url into user/password/host/port/path/queryString
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.vfs.provider.HostFileNameParser |
|---|
HostFileNameParser.Authority |
| Constructor Summary | |
|---|---|
URLFileNameParser(int defaultPort)
|
|
| Method Summary | |
|---|---|
boolean |
encodeCharacter(char ch)
Check if a character needs encoding (%nn) |
FileName |
parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
parses a String into a filename |
| Methods inherited from class org.apache.commons.vfs.provider.HostFileNameParser |
|---|
extractHostName, extractPort, extractToPath, extractUserInfo, getDefaultPort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLFileNameParser(int defaultPort)
| Method Detail |
|---|
public boolean encodeCharacter(char ch)
FileNameParser
encodeCharacter in interface FileNameParserencodeCharacter in class HostFileNameParserch - the character
public FileName parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
throws FileSystemException
FileNameParser
parseUri in interface FileNameParserparseUri in class HostFileNameParserFileSystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||