|
|||||||||
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.MsgHead
public class MsgHead
Representation of MsgHead
Nested Class Summary | |
---|---|
static class |
MsgHead.key
Field Class for MsgHead.key |
static class |
MsgHead.value
Field Class for MsgHead.value |
Constructor Summary | |
---|---|
MsgHead(ident key,
ident value)
Construct a(n) MsgHead Instance |
|
MsgHead(java.lang.String k,
java.lang.String v)
Create a MsgHeader from key/value Strings |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this MsgHead? |
ident |
getKey()
Getter for field MsgHead.key |
ident |
getValue()
Getter for field MsgHead.value |
static MsgHead |
parse(java.io.InputStream inpt)
Parse an instance of MsgHead from the given Stream |
static MsgHead |
parse(java.io.Reader inpt)
Parse an instance of MsgHead from the given Reader |
static MsgHead |
parse(java.lang.String inpt)
Parse an instance of MsgHead from the given String |
java.lang.String |
toString()
DGP method from Class PrintToString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MsgHead(ident key, ident value)
public MsgHead(java.lang.String k, java.lang.String v)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static MsgHead parse(java.lang.String inpt) throws ParseException
ParseException
public static MsgHead parse(java.io.InputStream inpt) throws ParseException
ParseException
public static MsgHead parse(java.io.Reader inpt) throws ParseException
ParseException
public java.lang.String toString()
toString
in class java.lang.Object
public ident getValue()
public ident getKey()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |