COM.claymoresystems.util
public class RFC822Hdr extends Object
RFC822Hdr
is a single RFC822 style header. This is a colon
delimited header of the form Name: value (,value2)*. A header can be folded
across multiple lines by using whitespace characters at the beginning of the
continuation line.
Constructor Summary | |
---|---|
RFC822Hdr(BufferedReader rdr)
Create an RFC822Hdr by reading from the indicated reader | |
RFC822Hdr(String str)
Create an RFC822Hdr from the indicated string |
Method Summary | |
---|---|
String | getName()
Return the field name |
String | getSubfield(int index) |
Vector | getSubfields() Return the field value parsed as if it were a comma-delimited string.
|
String | getValue()
Return the field value |