org.apache.commons.vfs.provider.smb
Class SmbFileNameParser
java.lang.Object
org.apache.commons.vfs.provider.AbstractFileNameParser
org.apache.commons.vfs.provider.HostFileNameParser
org.apache.commons.vfs.provider.URLFileNameParser
org.apache.commons.vfs.provider.smb.SmbFileNameParser
- All Implemented Interfaces:
- org.apache.commons.vfs.provider.FileNameParser
public class SmbFileNameParser
- extends org.apache.commons.vfs.provider.URLFileNameParser
Implementation for sftp. set default port to 139
Nested classes/interfaces inherited from class org.apache.commons.vfs.provider.HostFileNameParser |
org.apache.commons.vfs.provider.HostFileNameParser.Authority |
Method Summary |
static org.apache.commons.vfs.provider.FileNameParser |
getInstance()
|
org.apache.commons.vfs.FileName |
parseUri(org.apache.commons.vfs.provider.VfsComponentContext context,
org.apache.commons.vfs.FileName base,
java.lang.String filename)
|
Methods inherited from class org.apache.commons.vfs.provider.URLFileNameParser |
encodeCharacter |
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 |
SmbFileNameParser
public SmbFileNameParser()
getInstance
public static org.apache.commons.vfs.provider.FileNameParser getInstance()
parseUri
public org.apache.commons.vfs.FileName parseUri(org.apache.commons.vfs.provider.VfsComponentContext context,
org.apache.commons.vfs.FileName base,
java.lang.String filename)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
parseUri
in interface org.apache.commons.vfs.provider.FileNameParser
- Overrides:
parseUri
in class org.apache.commons.vfs.provider.URLFileNameParser
- Throws:
org.apache.commons.vfs.FileSystemException