edu.neu.ccs.demeterf.http.classes
Class URL

java.lang.Object
  extended by edu.neu.ccs.demeterf.http.classes.URL
Direct Known Subclasses:
BaseURL, MidURL, NoURL

public abstract class URL
extends java.lang.Object

Representation of URL


Constructor Summary
URL()
          Construct a(n) URL Instance
 
Method Summary
 boolean isEmpty()
          Is this URL Empty?
static URL parse(java.io.InputStream inpt)
          Parse an instance of URL from the given Stream
static URL parse(java.io.Reader inpt)
          Parse an instance of URL from the given Reader
static URL parse(java.lang.String inpt)
          Parse an instance of URL from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
abstract  java.lang.String trimArgs()
          Remove the URLs Arguments
abstract  Map<java.lang.String,java.lang.String> urlArgs()
          Return the URLs Arguments
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URL

public URL()
Construct a(n) URL Instance

Method Detail

parse

public static URL parse(java.lang.String inpt)
                 throws ParseException
Parse an instance of URL from the given String

Throws:
ParseException

parse

public static URL parse(java.io.InputStream inpt)
                 throws ParseException
Parse an instance of URL from the given Stream

Throws:
ParseException

parse

public static URL parse(java.io.Reader inpt)
                 throws ParseException
Parse an instance of URL from the given Reader

Throws:
ParseException

isEmpty

public boolean isEmpty()
Is this URL Empty?


urlArgs

public abstract Map<java.lang.String,java.lang.String> urlArgs()
Return the URLs Arguments


trimArgs

public abstract java.lang.String trimArgs()
Remove the URLs Arguments


toString

public java.lang.String toString()
DGP method from Class PrintToString

Overrides:
toString in class java.lang.Object