Class TLcdARINCLonLatParser

java.lang.Object
com.luciad.format.arinc.util.TLcdARINCLonLatParser

public class TLcdARINCLonLatParser extends Object
This class provides methods to retrieve a longitude (resp. latitude) from a given array of characters.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Constructs a new TLcdARINCLonLatParser.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static boolean
    hasDoubleLat(char[] aRecord, int aBegin)
     
    static boolean
    Deprecated.
    This method has been deprecated.
    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.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • TLcdARINCLonLatParser Link icon

      public TLcdARINCLonLatParser()
      Constructs a new TLcdARINCLonLatParser.
  • Method Details Link icon

    • setTraceOn Link icon

      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 is true then 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 Link icon

      public static boolean isTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • readFloatLon Link icon

      public 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.
      Parameters:
      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.
      Returns:
      The float longitude read from the record.
    • readFloatLat Link icon

      public 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.
      Parameters:
      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.
      Returns:
      The float latitude read from the record.
    • readDoubleLon Link icon

      public 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.
      Parameters:
      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.
      Returns:
      The double longitude read from the record.
    • hasDoubleLat Link icon

      public static boolean hasDoubleLat(char[] aRecord, int aBegin)
    • readDoubleLat Link icon

      public 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.
      Parameters:
      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.
      Returns:
      The double latitude read from the record.