org.jscience.astronomy.catalogs.hipparcos
Class HipparcosProperties

java.lang.Object
  extended by org.jscience.astronomy.catalogs.hipparcos.HipparcosProperties

public class HipparcosProperties
extends java.lang.Object

Class to load properties from file and then be a singleton for thoose properties. Has smart defaults though just in case the file is not found


Constructor Summary
HipparcosProperties()
           
 
Method Summary
static java.lang.String getProperty(java.lang.String prop)
          DOCUMENT ME!
static java.lang.String getProperty(java.lang.String prop, java.lang.String def)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HipparcosProperties

public HipparcosProperties()
Method Detail

getProperty

public static java.lang.String getProperty(java.lang.String prop)
DOCUMENT ME!

Parameters:
prop - DOCUMENT ME!
Returns:
DOCUMENT ME!

getProperty

public static java.lang.String getProperty(java.lang.String prop,
                                           java.lang.String def)
DOCUMENT ME!

Parameters:
prop - DOCUMENT ME!
def - DOCUMENT ME!
Returns:
DOCUMENT ME!