public class SuggestOffsetParser extends LogParser
| Modifier and Type | Class and Description |
|---|---|
static class |
SuggestOffsetParser.All |
static class |
SuggestOffsetParser.One |
LogParser.Tail| Modifier and Type | Field and Description |
|---|---|
static String |
ALT |
static String |
AUXHEAD
How an suggest procedure is stated in the aux log.
|
static String |
AZ |
static String |
FIRST
This is the line we scan for in an adapter acquire procedure.
|
static String |
MASTER
To get heigtht and azimuth, scan the master.
|
static String |
UNIQUE
After this part in the head string, we find the unique entry.
|
static String |
Y0
After this part in the first string, we find the alt-offset entry.
|
DEFDATEFORMAT, KEY_DATEFORMAT, KEY_HASHOSTKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
SuggestOffsetParser(Map<String,String> prop)
Constructs a new log parser.
|
| Modifier and Type | Method and Description |
|---|---|
private Pair<Vector2D,Vector2D> |
parseAuxAndAdapter(File aux,
File ada,
String objid)
Scans the aux and the adapter log for the occurence of the specified objid.
|
private Vector2D |
scan(File f,
String head,
String unique)
Extracts the unique id plus a required offset from a log file
|
private Vector2D |
scanMaster(File f,
String objid)
Extract azimuth and height of target from master log.
|
dateFilter, dateFilter, dateFilter, dateFilter, dateFilter, dateFilter, levelFilter, read, read, readFile, readFile, readList, readTail, sshTailaugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String MASTER
public static final String AZ
public static final String ALT
public static final String AUXHEAD
public static final String FIRST
public static final String UNIQUE
public static final String Y0
private Vector2D scanMaster(File f, String objid) throws ParseException
f - objid - ParseExceptionprivate Vector2D scan(File f, String head, String unique) throws ParseException
ParseExceptionprivate Pair<Vector2D,Vector2D> parseAuxAndAdapter(File aux, File ada, String objid) throws ParseException
ParseException