public class TargetField
extends java.lang.Object
Further information, see ISO/IEC 15444-9 section C.2
Modifier and Type | Field and Description |
---|---|
int[] |
subtarget
subtarget = "subtarget" "=" byte-range
byte-range = UINT_RANGE May be used to qualify the original named resource through the specification of a byte range. |
java.lang.String |
target
target = "target" "=" PATH
Specifies the original named resource (often the name of a file on the server).
|
java.lang.String |
tid
tid = "tid" "=" target-id
target-id = TOKEN This field may be used to supply a target-id string, which was previously generated by the server to absolutely identify the logical target that is being accessed, including any discretionary transcoding performed by the server. |
Constructor and Description |
---|
TargetField()
Constructor.
|
public java.lang.String target
If the Target request field is missing then the original named resource is determined by other means.
public int[] subtarget
May be used to qualify the original named resource through the specification of a byte range. The logical target is to be interpreted as the indicated byte range of the original named resource.
The lower and upper bounds of the supplied byte-range are inclusive, an 0 refers to the first byte of the target file.
public java.lang.String tid
This field may be used to supply a target-id string, which was previously generated by the server to absolutely identify the logical target that is being accessed, including any discretionary transcoding performed by the server. The logical target name is not necessarily unique and does not necessarily correspond to a single encoding of its contents, whereas the target-id string, together with the original resource name and byte range, should absolutely identify both the imagery and its encoding.
If target-id is "0", the logical target is specified through the use of the Target, Sub-target and JPIP URL path component, and the client is explicitly requesting that the server inform it of the assigned target-id, if there is one. The server shall include a Target ID header in its response to all client requests with a target-id of "0".
target-id shall not exceed 255 characters in length.
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)