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: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
-
-
Constructor Summary
Constructors Constructor Description WindowsFileNameParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FileNamecreateFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)protected java.lang.StringextractRootPrefix(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 org.apache.commons.vfs.provider.local.LocalFileNameParser
isAbsoluteName, parseUri
-
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileNameParser
encodeCharacter
-
-
-
-
Method Detail
-
extractRootPrefix
protected java.lang.String extractRootPrefix(java.lang.String uri, java.lang.StringBuffer name) throws FileSystemExceptionPops the root prefix off a URI, which has had the scheme removed.- Specified by:
extractRootPrefixin classLocalFileNameParser- Throws:
FileSystemException
-
createFileName
protected FileName createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
- Specified by:
createFileNamein classLocalFileNameParser
-
-