org.inria.ns.reflex.modules.io.http
Class HttpFileNameParser

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractFileNameParser
      extended by org.apache.commons.vfs.provider.HostFileNameParser
          extended by org.apache.commons.vfs.provider.URLFileNameParser
              extended by org.inria.ns.reflex.modules.io.fallback.URLParser
                  extended by org.inria.ns.reflex.modules.io.http.HttpFileNameParser
All Implemented Interfaces:
FileNameParser

public class HttpFileNameParser
extends URLParser

Implementation for http. set default port to 80


Constructor Summary
HttpFileNameParser()
           
 
Method Summary
static FileNameParser getInstance()
           
 FileName parseUri(VfsComponentContext context, FileName base, String filename)
           
 
Methods inherited from class org.apache.commons.vfs.provider.URLFileNameParser
encodeCharacter
 
Methods inherited from class org.apache.commons.vfs.provider.HostFileNameParser
getDefaultPort
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpFileNameParser

public HttpFileNameParser()
Method Detail

getInstance

public static FileNameParser getInstance()

parseUri

public FileName parseUri(VfsComponentContext context,
                         FileName base,
                         String filename)
                  throws FileSystemException
Specified by:
parseUri in interface FileNameParser
Overrides:
parseUri in class URLFileNameParser
Throws:
FileSystemException