org.apache.commons.vfs2.provider.local
Class WindowsFileNameParser

java.lang.Object
  extended by org.apache.commons.vfs2.provider.AbstractFileNameParser
      extended by org.apache.commons.vfs2.provider.local.LocalFileNameParser
          extended by org.apache.commons.vfs2.provider.local.WindowsFileNameParser
All Implemented Interfaces:
FileNameParser

public class WindowsFileNameParser
extends LocalFileNameParser

A parser for Windows file names.

Author:
Commons VFS team

Constructor Summary
WindowsFileNameParser()
           
 
Method Summary
protected  FileName createFileName(String scheme, String rootFile, String path, FileType type)
           
protected  String extractRootPrefix(String uri, StringBuilder name)
          Pops the root prefix off a URI, which has had the scheme removed.
 
Methods inherited from class org.apache.commons.vfs2.provider.local.LocalFileNameParser
isAbsoluteName, parseUri
 
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileNameParser
encodeCharacter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsFileNameParser

public WindowsFileNameParser()
Method Detail

extractRootPrefix

protected String extractRootPrefix(String uri,
                                   StringBuilder 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(String scheme,
                                  String rootFile,
                                  String path,
                                  FileType type)
Specified by:
createFileName in class LocalFileNameParser


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.