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 FileNamecreateFileName(String scheme, String rootFile, String path, FileType type) protected StringextractRootPrefix(String uri, StringBuffer name) Pops the root prefix off a URI, which has had the scheme removed.Methods inherited from class LocalFileNameParser
isAbsoluteName, parseUriMethods inherited from class 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:
extractRootPrefixin classLocalFileNameParser- Throws:
FileSystemException
-
createFileName
- Specified by:
createFileNamein classLocalFileNameParser
-