| java.lang.Object jj2000.j2k.ModuleSpec jj2000.j2k.StringSpec
StringSpec | public class StringSpec extends ModuleSpec (Code) | | This class extends ModuleSpec class in order to hold tile-component
specifications using Strings.
See Also: ModuleSpec |
Constructor Summary | |
public | StringSpec(int nt, int nc, byte type) Constructs an empty 'StringSpec' with specified number of
tile and components. | public | StringSpec(int nt, int nc, byte type, String defaultValue, String[] list, J2KImageWriteParamJava wp, String values) Constructs a new 'StringSpec' for the specified number of
components:tiles and the arguments of optName
option. |
StringSpec | public StringSpec(int nt, int nc, byte type)(Code) | | Constructs an empty 'StringSpec' with specified number of
tile and components. This constructor is called by the decoder.
Parameters: nt - Number of tiles Parameters: nc - Number of components Parameters: type - the type of the specification module i.e. tile specific,component specific or both. |
StringSpec | public StringSpec(int nt, int nc, byte type, String defaultValue, String[] list, J2KImageWriteParamJava wp, String values)(Code) | | Constructs a new 'StringSpec' for the specified number of
components:tiles and the arguments of optName
option. This constructor is called by the encoder. It also
checks that the arguments belongs to the recognized arguments
list.
Note: The arguments must not start with 't' or 'c'
since it is reserved for respectively tile and components
indexes specification.
Parameters: nt - The number of tiles Parameters: nc - The number of components Parameters: type - the type of the specification module i.e. tile specific,component specific or both. Parameters: name - of the option using boolean spec. Parameters: list - The list of all recognized argument in a String array |
|
|