org.inria.ns.reflex.modules.io.fallback
Class URLParser

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
All Implemented Interfaces:
FileNameParser
Direct Known Subclasses:
HttpFileNameParser

public class URLParser
extends URLFileNameParser

Support for IPv6 addresses.

scheme://[xx:xx:etc]:port/path
This parser doesn't check the validity of IPv6 adresses, it just avoid the parent parser to fail.

Author:
Philippe Poulard

Constructor Summary
URLParser(int defaultPort)
           
 
Method Summary
 
Methods inherited from class org.apache.commons.vfs.provider.URLFileNameParser
encodeCharacter, parseUri
 
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

URLParser

public URLParser(int defaultPort)