Class SmbFileNameParser

  • All Implemented Interfaces:
    org.apache.commons.vfs2.provider.FileNameParser

    public class SmbFileNameParser
    extends org.apache.commons.vfs2.provider.GenericURLFileNameParser
    Implementation for sftp. set default port to 139
    • Nested Class Summary

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.commons.vfs2.provider.FileNameParser getInstance()  
      org.apache.commons.vfs2.FileName parseUri​(org.apache.commons.vfs2.provider.VfsComponentContext context, org.apache.commons.vfs2.FileName base, String filename)  
      • Methods inherited from class org.apache.commons.vfs2.provider.GenericURLFileNameParser

        encodeCharacter
      • Methods inherited from class org.apache.commons.vfs2.provider.HostFileNameParser

        extractHostName, extractPort, extractToPath, extractToPath, extractUserInfo, getDefaultPort
    • Constructor Detail

      • SmbFileNameParser

        public SmbFileNameParser()
    • Method Detail

      • getInstance

        public static org.apache.commons.vfs2.provider.FileNameParser getInstance()
      • parseUri

        public org.apache.commons.vfs2.FileName parseUri​(org.apache.commons.vfs2.provider.VfsComponentContext context,
                                                         org.apache.commons.vfs2.FileName base,
                                                         String filename)
                                                  throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        parseUri in interface org.apache.commons.vfs2.provider.FileNameParser
        Overrides:
        parseUri in class org.apache.commons.vfs2.provider.GenericURLFileNameParser
        Throws:
        org.apache.commons.vfs2.FileSystemException