|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.gbin.GbinMetadataReader
public class GbinMetadataReader
Provides a utility method for reading metadata from a GBIN file.
| Constructor Summary | |
|---|---|
GbinMetadataReader()
|
|
| Method Summary | |
|---|---|
static GbinMeta |
attemptReadMetadata(Object gbinReaderObj)
Attempts to read a metadata object from a GbinReader object. |
static void |
main(String[] args)
Attempts to read metadata from the GBIN file named on the command line and writes the description to stdout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GbinMetadataReader()
| Method Detail |
|---|
public static GbinMeta attemptReadMetadata(Object gbinReaderObj)
throws Throwable
NOTE: this method is effectively destructive: if you read metadata from a GbinReader you cannot then go on to read data records from it.
A wide range of exceptions and errors may be thrown by this method, since it involves reflection all sorts of things can go wrong.
gbinReaderObj - object implementing
gaia.cu1.tools.dal.gbin.GbinReader
Throwable
public static void main(String[] args)
throws Throwable
Throwable
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||