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:
FileNameParser
public class FtpFileNameParser extends HostFileNameParser
Implementation for FTP. Default port is 21.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.vfs2.provider.HostFileNameParser
HostFileNameParser.Authority
-
-
Constructor Summary
Constructors Constructor Description FtpFileNameParser()
Constructs a new instance with the default port.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileNameParser
getInstance()
Gets the singleton instance.-
Methods inherited from class org.apache.commons.vfs2.provider.HostFileNameParser
extractHostName, extractPort, extractToPath, extractToPath, extractUserInfo, getDefaultPort, parseUri
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileNameParser
encodeCharacter
-
-
-
-
Constructor Detail
-
FtpFileNameParser
public FtpFileNameParser()
Constructs a new instance with the default port.
-
-
Method Detail
-
getInstance
public static FileNameParser getInstance()
Gets the singleton instance.- Returns:
- the singleton instance.
-
-