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

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

public class MidURL
extends URL

Representation of MidURL


Nested Class Summary
static class MidURL.id
          Field Class for MidURL.id
static class MidURL.rest
          Field Class for MidURL.rest
 
Constructor Summary
MidURL(ident id, URL rest)
          Construct a(n) MidURL Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this MidURL?
 ident getId()
          Getter for field MidURL.id
 URL getRest()
          Getter for field MidURL.rest
static MidURL parse(java.io.InputStream inpt)
          Parse an instance of MidURL from the given Stream
static MidURL parse(java.io.Reader inpt)
          Parse an instance of MidURL from the given Reader
static MidURL parse(java.lang.String inpt)
          Parse an instance of MidURL from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 java.lang.String trimArgs()
          Remove the URLs 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

MidURL

public MidURL(ident id,
              URL rest)
Construct a(n) MidURL Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

public static MidURL parse(java.io.Reader inpt)
                    throws ParseException
Parse an instance of MidURL 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 URLs 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 MidURL.rest


getId

public ident getId()
Getter for field MidURL.id