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

java.lang.Object
  extended by edu.neu.ccs.demeterf.http.classes.URL
      extended by edu.neu.ccs.demeterf.http.classes.BaseURL

public class BaseURL
extends URL

Representation of BaseURL


Nested Class Summary
static class BaseURL.rest
          Field Class for BaseURL.rest
 
Constructor Summary
BaseURL(URL rest)
          Construct a(n) BaseURL Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this BaseURL?
 URL getRest()
          Getter for field BaseURL.rest
static BaseURL parse(java.io.InputStream inpt)
          Parse an instance of BaseURL from the given Stream
static BaseURL parse(java.io.Reader inpt)
          Parse an instance of BaseURL from the given Reader
static BaseURL parse(java.lang.String inpt)
          Parse an instance of BaseURL from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 java.lang.String trimArgs()
          Remove the URL Arguments
 Map<java.lang.String,java.lang.String> urlArgs()
          Return the URLs Arguments
 
Methods inherited from class edu.neu.ccs.demeterf.http.classes.URL
isEmpty
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseURL

public BaseURL(URL rest)
Construct a(n) BaseURL Instance

Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this BaseURL?

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

urlArgs

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

Specified by:
urlArgs in class URL

trimArgs

public java.lang.String trimArgs()
Remove the URL Arguments

Specified by:
trimArgs in class URL

toString

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

Overrides:
toString in class URL

getRest

public URL getRest()
Getter for field BaseURL.rest