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
public class SftpFileNameParser extends URLFileNameParser
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 Constructor Description SftpFileNameParser()
Creates a new instance with a the default port 22.
-
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.URLFileNameParser
encodeCharacter, parseUri
-
Methods inherited from class org.apache.commons.vfs2.provider.HostFileNameParser
extractHostName, extractPort, extractToPath, extractUserInfo, getDefaultPort
-
-
-
-
Constructor Detail
-
SftpFileNameParser
public SftpFileNameParser()
Creates a new instance with a the default port 22.
-
-
Method Detail
-
getInstance
public static FileNameParser getInstance()
Gets the singleton instance.- Returns:
- the singleton instance.
-
-