Class SftpFileNameParser
java.lang.Object
org.apache.commons.vfs2.provider.AbstractFileNameParser
org.apache.commons.vfs2.provider.HostFileNameParser
org.apache.commons.vfs2.provider.URLFileNameParser
org.apache.commons.vfs2.provider.sftp.SftpFileNameParser
- All Implemented Interfaces:
FileNameParser
Implementation for SFTP. Sets the default port to 22.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.vfs2.provider.HostFileNameParser
HostFileNameParser.Authority
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.vfs2.provider.URLFileNameParser
encodeCharacter, parseUri
Methods inherited from class org.apache.commons.vfs2.provider.HostFileNameParser
extractHostName, extractPort, extractToPath, extractToPath, extractUserInfo, getDefaultPort
-
Constructor Details
-
SftpFileNameParser
public SftpFileNameParser()Constructs a new instance with the default port 22.
-
-
Method Details
-
getInstance
Gets the singleton instance.- Returns:
- the singleton instance.
-