mysql
Class TargetSql.Panel

java.lang.Object
  extended by mysql.TargetSql.Panel
Enclosing class:
TargetSql

public static class TargetSql.Panel
extends Object

We read all entries from the database and construct info panels for it.


Field Summary
(package private) static TargetSql db
           
 
Constructor Summary
TargetSql.Panel()
           
 
Method Summary
static void main(String[] arg)
          If an argument is given, we look up only this star, otherwise, we go through all stars in the db.
private static boolean save(String name)
          Saves the info panel for one star as a png file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

static TargetSql db
Constructor Detail

TargetSql.Panel

public TargetSql.Panel()
Method Detail

save

private static boolean save(String name)
                     throws IOException
Saves the info panel for one star as a png file.

Throws:
IOException

main

public static void main(String[] arg)
                 throws SQLException,
                        IOException
If an argument is given, we look up only this star, otherwise, we go through all stars in the db.

Throws:
SQLException
IOException