Class OpenTracTypes

java.lang.Object
org.ka2ddo.opentrac.OpenTracTypes

public class OpenTracTypes extends Object
The definitions of the type codes used to identify elements of an OpenTRAC message, as officially documented in the OpenTRAC protocol specification document.
Author:
Andrew Pavlin, KA2DDO
  • Field Details

  • Method Details

    • getName

      public static String getName(int type)
      Get the localized String naming the OpenTRAC element type specified.
      Parameters:
      type - the numeric code for the OpenTRAC element type
      Returns:
      the localized type name String, or the empty string if not a standard type
    • getNetworkTypeName

      public static String getNetworkTypeName(byte networkId)
      Return the localized network type name for the network type code provided.
      Parameters:
      networkId - network type code
      Returns:
      name String
      See Also: