public class StringSpec extends ModuleSpec
ModuleSpec
compDef, def, nComp, nTiles, SPEC_COMP_DEF, SPEC_DEF, SPEC_TILE_COMP, SPEC_TILE_DEF, SPEC_TYPE_COMP, SPEC_TYPE_TILE, SPEC_TYPE_TILE_COMP, specType, specValType, tileCompVal, tileDef
Constructor and Description |
---|
StringSpec(int nt,
int nc,
byte type)
Constructs an empty 'StringSpec' with specified number of
tile and components.
|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getSpecified() |
clone, getCompDef, getCopy, getDefault, getSpec, getSpecValType, getTileCompVal, getTileDef, isCompSpecified, isTileCompSpecified, isTileSpecified, parseIdx, rotate90, setCompDef, setDefault, setTileCompVal, setTileDef
public StringSpec(int nt, int nc, byte type)
nt
- Number of tilesnc
- Number of componentstype
- the type of the specification module i.e. tile specific,
component specific or both.public StringSpec(int nt, int nc, byte type, String defaultValue, String[] list, J2KImageWriteParamJava wp, String values)
Note: The arguments must not start with 't' or 'c' since it is reserved for respectively tile and components indexes specification.
nt
- The number of tilesnc
- The number of componentstype
- the type of the specification module i.e. tile specific,
component specific or both.name
- of the option using boolean spec.list
- The list of all recognized argument in a String arraypublic String getSpecified()
Copyright © 2014. All rights reserved.