edu.pdx.starview.data
Class ParseSAO

java.lang.Object
  extended byedu.pdx.starview.data.ParseSAO

public class ParseSAO
extends java.lang.Object

This class is used to parse the fixed-width ascii version of the SAO star database.

Author:
Zach Koziol, Dave Camarillo

Constructor Summary
ParseSAO(java.io.File filename)
          http://tdc-www.harvard.edu/software/catalogs/sao.html
 
Method Summary
 void parse(java.util.Vector vStars)
          This method opens the star database, parses the data, and appends SVStar objects to the vStars vector.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseSAO

public ParseSAO(java.io.File filename)
http://tdc-www.harvard.edu/software/catalogs/sao.html

Parameters:
filename - The file on the filesystem that contains the SAO Database (note: this is not the binary form, but rather the fixed-width, ascii form)
Method Detail

parse

public void parse(java.util.Vector vStars)
           throws java.lang.Exception
This method opens the star database, parses the data, and appends SVStar objects to the vStars vector.

Parameters:
vStars - A number of SVStar objects will be appended to the vector.
Throws:
java.lang.Exception - If there is an error reading the file an exception will be thrown.