|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.iosp.gempak.GempakParameterTable
public class GempakParameterTable
Class to hold a lookup of gempak parameters
| Constructor Summary | |
|---|---|
GempakParameterTable()
Create a new table. |
|
| Method Summary | |
|---|---|
static void |
addParameters(java.lang.String tbl)
Add parameters from the table |
static java.io.InputStream |
getInputStream(java.lang.String resourceName)
Get the input stream to the given resource |
static GempakGridParameter |
getParameter(java.lang.String name)
Get the parameter for the given name |
static void |
main(java.lang.String[] args)
Test |
static byte[] |
readBytes(java.io.InputStream is)
Read the bytes in the given input stream. |
static java.lang.String |
readContents(java.io.InputStream is)
Read in the bytes from the given InputStream and construct and return a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GempakParameterTable()
| Method Detail |
|---|
public static void addParameters(java.lang.String tbl)
throws java.io.IOException
tbl - table location
java.io.IOException - problem reading table.public static GempakGridParameter getParameter(java.lang.String name)
name - name of the parameter (eg:, TMPK);
public static void main(java.lang.String[] args)
throws java.io.IOException
args - ignored
java.io.IOException - problem reading the table.
public static java.lang.String readContents(java.io.InputStream is)
throws java.io.IOException
is - InputStream to read from
java.io.IOException - problem reading contents
public static byte[] readBytes(java.io.InputStream is)
throws java.io.IOException
is - The input stream
java.io.IOException - On badnesspublic static java.io.InputStream getInputStream(java.lang.String resourceName)
resourceName - The resource name. May be a file, url,
java resource, etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||