Package com.luciad.format.dafif.util
Class TLcdDAFIFLonLatParser
java.lang.Object
com.luciad.format.dafif.util.TLcdDAFIFLonLatParser
This class provides methods to retrieve a longitude or latitude from a given array of characters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDeprecated.This method has been deprecated.static doublereadDoubleLat(char[] aRecord, int aBegin) Reads a latitude (9 positions) in a aRecord from position aBegin.static doublereadDoubleLon(char[] aRecord, int aBegin) Reads a longitude (10 positions) in aRecord from position aBeginstatic floatreadFloatLat(char[] aRecord, int aBegin) Reads a latitude (9 positions) in a aRecord from position aBegin.static floatreadFloatLon(char[] aRecord, int aBegin) Reads a longitude (10 positions) in aRecord from position aBeginstatic voidsetTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.
-
Constructor Details
-
TLcdDAFIFLonLatParser
public TLcdDAFIFLonLatParser()
-
-
Method Details
-
setTraceOn
public static void setTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istruethen all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
isTraceOn
public static boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrueif tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
readFloatLon
public static float readFloatLon(char[] aRecord, int aBegin) Reads a longitude (10 positions) in aRecord from position aBegin -
readFloatLat
public static float readFloatLat(char[] aRecord, int aBegin) Reads a latitude (9 positions) in a aRecord from position aBegin. -
readDoubleLon
public static double readDoubleLon(char[] aRecord, int aBegin) Reads a longitude (10 positions) in aRecord from position aBegin -
readDoubleLat
public static double readDoubleLat(char[] aRecord, int aBegin) Reads a latitude (9 positions) in a aRecord from position aBegin.
-