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

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

public class HTTPVer
extends java.lang.Object

Representation of HTTPVer


Nested Class Summary
static class HTTPVer.ver
          Field Class for HTTPVer.ver
 
Constructor Summary
HTTPVer(double ver)
          Construct a(n) HTTPVer Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this HTTPVer?
 double getVer()
          Getter for field HTTPVer.ver
static HTTPVer parse(java.io.InputStream inpt)
          Parse an instance of HTTPVer from the given Stream
static HTTPVer parse(java.io.Reader inpt)
          Parse an instance of HTTPVer from the given Reader
static HTTPVer parse(java.lang.String inpt)
          Parse an instance of HTTPVer 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

HTTPVer

public HTTPVer(double ver)
Construct a(n) HTTPVer Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class java.lang.Object

getVer

public double getVer()
Getter for field HTTPVer.ver