public class Grib2JpegDecoder extends 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 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)
IllegalArgumentException - If 'argv' is emptygetExitCode()public int getExitCode()
public boolean hasSignedProblem()
public void decode(byte[] buf)
throws IOException
IOExceptiongetExitCode()public int getPackBytes()
public int[] getGdata()
public static String[][] getAllParameters()
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.