org.apache.commons.vfs2.provider.ftp
Class FtpFileNameParser
java.lang.Object
org.apache.commons.vfs2.provider.AbstractFileNameParser
org.apache.commons.vfs2.provider.HostFileNameParser
org.apache.commons.vfs2.provider.ftp.FtpFileNameParser
- All Implemented Interfaces:
- org.apache.commons.vfs2.provider.FileNameParser
public class FtpFileNameParser
- extends org.apache.commons.vfs2.provider.HostFileNameParser
Implementation for ftp. set default port to 21
- Author:
- Commons VFS team
PATCH for : https://issues.apache.org/jira/browse/VFS-178
Nested classes/interfaces inherited from class org.apache.commons.vfs2.provider.HostFileNameParser |
org.apache.commons.vfs2.provider.HostFileNameParser.Authority |
Method Summary |
static org.apache.commons.vfs2.provider.FileNameParser |
getInstance()
|
org.apache.commons.vfs2.FileName |
parseUri(org.apache.commons.vfs2.provider.VfsComponentContext context,
org.apache.commons.vfs2.FileName base,
String filename)
|
Methods inherited from class org.apache.commons.vfs2.provider.HostFileNameParser |
encodeCharacter, extractHostName, extractPort, extractToPath, extractUserInfo, getDefaultPort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FtpFileNameParser
public FtpFileNameParser()
getInstance
public static org.apache.commons.vfs2.provider.FileNameParser getInstance()
parseUri
public org.apache.commons.vfs2.FileName parseUri(org.apache.commons.vfs2.provider.VfsComponentContext context,
org.apache.commons.vfs2.FileName base,
String filename)
throws org.apache.commons.vfs2.FileSystemException
- Specified by:
parseUri
in interface org.apache.commons.vfs2.provider.FileNameParser
- Overrides:
parseUri
in class org.apache.commons.vfs2.provider.HostFileNameParser
- Throws:
org.apache.commons.vfs2.FileSystemException
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.