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
A parser for Windows file names.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileName
createFileName
(String scheme, String rootFile, String path, FileType type) protected String
extractRootPrefix
(String uri, StringBuffer name) Pops the root prefix off a URI, which has had the scheme removed.Methods inherited from class org.apache.commons.vfs.provider.local.LocalFileNameParser
isAbsoluteName, parseUri
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileNameParser
encodeCharacter
-
Constructor Details
-
WindowsFileNameParser
public WindowsFileNameParser()
-
-
Method Details
-
extractRootPrefix
Pops the root prefix off a URI, which has had the scheme removed.- Specified by:
extractRootPrefix
in classLocalFileNameParser
- Throws:
FileSystemException
-
createFileName
- Specified by:
createFileName
in classLocalFileNameParser
-