stella.adapter
Class StatusSerializer.FromLog

java.lang.Object
  extended by stella.adapter.StatusSerializer.FromLog
Enclosing class:
StatusSerializer

public static class StatusSerializer.FromLog
extends Object

Reads a log file of the adapter and tries to construct serialized guider info out of it.


Field Summary
private static String PIDLOG
          The log output for writing a pid offset.
private static String PIXELLOG
          The log output for writing a pixel offset.
 
Constructor Summary
StatusSerializer.FromLog()
           
 
Method Summary
static void main(String[] arg)
          Supply the log file from the adapter and the yyyymmdd-picknr string.
private static long parseDate(String line)
          Parses the date of the log line, returns a long.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIXELLOG

private static final String PIXELLOG
The log output for writing a pixel offset.

See Also:
Constant Field Values

PIDLOG

private static final String PIDLOG
The log output for writing a pid offset.

See Also:
Constant Field Values
Constructor Detail

StatusSerializer.FromLog

public StatusSerializer.FromLog()
Method Detail

main

public static void main(String[] arg)
                 throws IOException
Supply the log file from the adapter and the yyyymmdd-picknr string.

Throws:
IOException

parseDate

private static long parseDate(String line)
Parses the date of the log line, returns a long.