|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.http.classes.URL edu.neu.ccs.demeterf.http.classes.MidURL
public class MidURL
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 |
---|
public MidURL(ident id, URL rest)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static MidURL parse(java.lang.String inpt) throws ParseException
ParseException
public static MidURL parse(java.io.InputStream inpt) throws ParseException
ParseException
public static MidURL parse(java.io.Reader inpt) throws ParseException
ParseException
public Map<java.lang.String,java.lang.String> urlArgs()
urlArgs
in class URL
public java.lang.String trimArgs()
trimArgs
in class URL
public java.lang.String toString()
toString
in class URL
public URL getRest()
public ident getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |