org.apache.commons.vfs.provider.smb
Class SmbFileNameParser

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractFileNameParser
      extended by org.apache.commons.vfs.provider.HostFileNameParser
          extended by org.apache.commons.vfs.provider.URLFileNameParser
              extended by org.apache.commons.vfs.provider.smb.SmbFileNameParser
All Implemented Interfaces:
FileNameParser

public class SmbFileNameParser
extends URLFileNameParser

Implementation for sftp. set default port to 139


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.vfs.provider.HostFileNameParser
HostFileNameParser.Authority
 
Constructor Summary
SmbFileNameParser()
           
 
Method Summary
static FileNameParser getInstance()
           
 FileName parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
          parses a String into a 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 FileNameParser getInstance()

parseUri

public FileName parseUri(VfsComponentContext context,
                         FileName base,
                         java.lang.String filename)
                  throws FileSystemException
Description copied from interface: FileNameParser
parses a String into a filename

Specified by:
parseUri in interface FileNameParser
Overrides:
parseUri in class URLFileNameParser
Throws:
FileSystemException


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.