public class TLcdARINCLonLatParser extends Object
Constructor and Description |
---|
TLcdARINCLonLatParser()
Constructs a new
TLcdARINCLonLatParser . |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasDoubleLat(char[] aRecord,
int aBegin) |
static boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
static double |
readDoubleLat(char[] aRecord,
int aBegin)
Reads a latitude (9 positions) in an ARINC record from the specified position
and returns it as a
double . |
static double |
readDoubleLon(char[] aRecord,
int aBegin)
Reads a longitude (10 positions) in an ARINC record from the specified position
and returns it as a
double . |
static float |
readFloatLat(char[] aRecord,
int aBegin)
Reads a latitude (9 positions) in an ARINC record from the specified position
and returns it as a
float . |
static float |
readFloatLon(char[] aRecord,
int aBegin)
Reads a longitude (10 positions) in an ARINC record from the specified position
and returns it as a
float . |
static void |
setTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
public TLcdARINCLonLatParser()
TLcdARINCLonLatParser
.public static void setTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public static boolean isTraceOn()
true
if tracing is enabled for this class.public static float readFloatLon(char[] aRecord, int aBegin)
float
.aRecord
- The record to read from.aBegin
- The position in the record to start reading from.
This corresponds to the index in the record character array.float
longitude read from the record.public static float readFloatLat(char[] aRecord, int aBegin)
float
.aRecord
- The record to read from.aBegin
- The position in the record to start reading from.
This corresponds to the index in the record character array.float
latitude read from the record.public static double readDoubleLon(char[] aRecord, int aBegin)
double
.aRecord
- The record to read from.aBegin
- The position in the record to start reading from.
This corresponds to the index in the record character array.double
longitude read from the record.public static boolean hasDoubleLat(char[] aRecord, int aBegin)
public static double readDoubleLat(char[] aRecord, int aBegin)
double
.aRecord
- The record to read from.aBegin
- The position in the record to start reading from.
This corresponds to the index in the record character array.double
latitude read from the record.