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:
- FileNameParser
public class SmbFileNameParser
- extends URLFileNameParser
Implementation for sftp. set default port to 139
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmbFileNameParser
public SmbFileNameParser()
getInstance
public static FileNameParser getInstance()
parseUri
public FileName parseUri(VfsComponentContext context,
FileName base,
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
- Parameters:
context
- The component context.base
- The base FileName.filename
- The target file name.
- Returns:
- A FileName that represents the taret file.
- Throws:
FileSystemException
- if an error occurs parsing the URI.
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.