|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.source.VlaHistoricalCalibratorData
public class VlaHistoricalCalibratorData
Structured representation of data from the old VLA Calibrator Manual.
Warning: This class is not expected to be used by anything other than the source catalog application under controlled circumstances. Because of this documentation herein is scanty and error handling has not been coded. If you would like to use this class in your own environment, see the author about making this class more robust.
CVS Info:
$Revision: 760 $ |
$Date: 2007-07-09 08:39:29 -0600 (Mon, 09 Jul 2007) $ |
$Author: dharland $ |
Method Summary | |
---|---|
static List<String> |
getBandLineColumnNames()
Returns a list where each entry is the name of a column in a "band" line. |
List<List<String>> |
getBandLines()
Returns a list "band" lines for this record. |
static List<String> |
getNameLineColumnNames()
Returns a list where each entry is the name of a column in a "name" line. |
List<List<String>> |
getNameLines()
Returns a list "name" lines for this record. |
static boolean |
isOldVlaRecord(String text)
Returns true if it looks like text is in a form
that the parse(String) method of this class understands. |
static VlaHistoricalCalibratorData |
parse(String text)
Creates a new historical record by parsing the given text. |
String |
toHtmlBandTable(String tableStyle)
Returns an HTML table that contains a row for each band line. |
String |
toHtmlNameTable(String tableStyle)
Returns an HTML table that contains a row for each name line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<String> getNameLineColumnNames()
public static List<String> getBandLineColumnNames()
public List<List<String>> getNameLines()
getNameLineColumnNames()
.
public List<List<String>> getBandLines()
getBandLineColumnNames()
.
public String toHtmlNameTable(String tableStyle)
tableStyle
- text that is added to the <table> tag.
public String toHtmlBandTable(String tableStyle)
tableStyle
- text that is added to the <table> tag.
public static VlaHistoricalCalibratorData parse(String text)
text
- to be parsed.
IllegalArgumentException
- if text
is not in the
expected format.public static boolean isOldVlaRecord(String text)
text
is in a form
that the parse(String)
method of this class understands.
Specifically, this method will return true if text
contains the string "origin=VLA.Calibrator.Catalog".
text
- a potential VLA Calibrator Manual entry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |