|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jgrib.GribGDSFactory
public class GribGDSFactory
GribGDSFactory determines the proper subclass of GribRecordGDS to create. Extend GribRecordGDS to add a GDS type for your definition. Add types to the switch statement to create an instance of your new type TODO - only a few types are supported so far
Method Summary | |
---|---|
static GribRecordGDS |
getGDS(BitInputStream in)
Determines the Grid type and calls the appropriate constructor (if it exists) See: table 6 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GribRecordGDS getGDS(BitInputStream in) throws java.io.IOException, NoValidGribException, NotSupportedException
in
- bit input stream with GDS content
java.io.IOException
- if stream can not be opened etc.
NoValidGribException
- if stream contains no valid GRIB file
NotSupportedException
- if GRIB type is not supported in JGRIB
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |