Class 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 Class Summary

      • Nested classes/interfaces inherited from class org.apache.commons.vfs.provider.HostFileNameParser

        org.apache.commons.vfs.provider.HostFileNameParser.Authority
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • SmbFileNameParser

        public SmbFileNameParser()
    • Method Detail

      • 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