public class Grib2JpegDecoder
extends java.lang.Object
Constructor and Description |
---|
Grib2JpegDecoder(int nbits,
boolean debug)
Instantiates a decoder object, width the 'argv' command
line arguments.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] buf)
Runs the decoder.
|
static java.lang.String[][] |
getAllParameters()
Returns all the parameters used in the decoding chain.
|
int |
getExitCode()
Returns the exit code of the class.
|
int[] |
getGdata()
Return the "raw" decoded data as an int array
|
int |
getPackBytes()
Return the packBytes ie number bytes / number 1,2 or 4
|
boolean |
hasSignedProblem() |
public Grib2JpegDecoder(int nbits, boolean debug)
java.lang.IllegalArgumentException
- If 'argv' is emptygetExitCode()
public int getExitCode()
public boolean hasSignedProblem()
public void decode(byte[] buf) throws java.io.IOException
java.io.IOException
getExitCode()
public int getPackBytes()
public int[] getGdata()
public static java.lang.String[][] getAllParameters()