org.apache.commons.vfs.provider.local
Class WindowsFileNameParser
java.lang.Object
org.apache.commons.vfs.provider.AbstractFileNameParser
org.apache.commons.vfs.provider.local.LocalFileNameParser
org.apache.commons.vfs.provider.local.WindowsFileNameParser
- All Implemented Interfaces:
- FileNameParser
public class WindowsFileNameParser
- extends LocalFileNameParser
A parser for Windows file names.
- Version:
- $Revision: 764356 $ $Date: 2009-04-13 06:06:01 +0200 (Mo, 13. Apr 2009) $
- Author:
- Adam Murdoch
Method Summary |
protected FileName |
createFileName(java.lang.String scheme,
java.lang.String rootFile,
java.lang.String path,
FileType type)
|
protected java.lang.String |
extractRootPrefix(java.lang.String uri,
java.lang.StringBuffer name)
Pops the root prefix off a URI, which has had the scheme removed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsFileNameParser
public WindowsFileNameParser()
extractRootPrefix
protected java.lang.String extractRootPrefix(java.lang.String uri,
java.lang.StringBuffer name)
throws FileSystemException
- Pops the root prefix off a URI, which has had the scheme removed.
- Specified by:
extractRootPrefix
in class LocalFileNameParser
- Throws:
FileSystemException
createFileName
protected FileName createFileName(java.lang.String scheme,
java.lang.String rootFile,
java.lang.String path,
FileType type)
- Specified by:
createFileName
in class LocalFileNameParser
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.