universe.server.database
Class StarNames
java.lang.Object
|
+--universe.server.database.StarNames
- class StarNames
- extends java.lang.Object
This class handles reading in a list of star name from the
UniverseData file. This is used for matching up some
"nicer" names with the stars in the catalog than the ones
astromomers use (e.g. we can have "Altair" instead of "Gl 768".
- Version:
- $Id: StarNames.java,v 1.1 2002/02/23 18:00:05 sstarkey Exp $
Constructor Summary |
(package private) |
StarNames(java.lang.String starNameMap)
This is the designated constructor for instances of this
class. |
Method Summary |
(package private) java.lang.String |
get(java.lang.String key)
|
(package private) void |
insert(java.lang.String key,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namesHashTable
private java.util.Hashtable namesHashTable
StarNames
StarNames(java.lang.String starNameMap)
throws java.lang.InterruptedException
- This is the designated constructor for instances of this
class. The newly created instance will attempt to read
its data from the file given in the given named resource.
- Parameters:
starNameMap
- The named resource from which to read star name data.
insert
void insert(java.lang.String key,
java.lang.String value)
get
java.lang.String get(java.lang.String key)
Copyright © 2001 Universe Dev Team All Rights Reserved.