|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Common.Network.JPIP.DataLimitField
public class DataLimitField
This class is used to save the data limit fields.
Further information, see ISO/IEC 15444-9 section C.6
| Field Summary | |
|---|---|
int |
len
len = "len" "=" UINT This field specifies a restriction on the amount of data the client wants the server to send in response to this request. |
int |
quality
quality = "quality" "=" (1*2DIGIT / "100") ; 0 to 100 This field may be used to limit data transmission to a quality level (between 0 for lowest quality and 100 for highest quality) associated with the image. |
| Constructor Summary | |
|---|---|
DataLimitField()
Constructor. |
|
| Method Summary | |
|---|---|
void |
list(java.io.PrintStream out)
Prints this Data limit fields out to the specified output stream. |
void |
reset()
Sets the attributes to its initial values. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int len
This field specifies a restriction on the amount of data the client wants the server to send in response to this request. The unit shall be bytes. If not present, the server should send image data to the client until such point as all of the relevant data has been sent, a quality limit is reached (see C.6.2 of the ISO/IEC 15444-9:2005), or the response is interrupted by the arrival of a new request that does not include a Wait request field with a value of "yes" (see C.7.2 of the ISO/IEC 15444-9:2005). The client should use len=0 if it requires response headers and no response data.
public int quality
This field may be used to limit data transmission to a quality level (between 0 for lowest quality and 100 for highest quality) associated with the image. Quality limits are difficult to formulate in a reliable manner, and the server may ignore this request by responding with a value "?1" (see D.2.16). Nevertheless, it is useful to allow the client to provide some indication of the maximum image quality that might be of interest. The quality factor may attempt to approximate the ad hoc Quality commonly used to control JPEG compression. The client should expect that the returned data size is monotonically non-decreasing with increasing quality, i.e., increasing the quality value generally corresponds to increasing the returned data size.
| Constructor Detail |
|---|
public DataLimitField()
| Method Detail |
|---|
public void reset()
public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||