dk.tbsalling.aismessages.decoder
Class DecoderImpl
java.lang.Object
dk.tbsalling.aismessages.decoder.DecoderImpl
- All Implemented Interfaces:
- Decoder
public class DecoderImpl
- extends Object
- implements Decoder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoderImpl
public DecoderImpl()
decode
public DecodedAISMessage decode(EncodedAISMessage encodedMessage)
- Specified by:
decode in interface Decoder
convertToBoolean
public static Boolean convertToBoolean(String bits)
convertToUnsignedInteger
public static Integer convertToUnsignedInteger(String bitString)
convertToSignedInteger
public static Integer convertToSignedInteger(String bitString)
convertToUnsignedLong
public static Long convertToUnsignedLong(String bitString)
convertToFloat
public static Float convertToFloat(String bitString)
convertToUnsignedFloat
public static Float convertToUnsignedFloat(String bitString)
convertToTime
public static String convertToTime(String bits)
convertToString
public static String convertToString(String bits)
convertToBitString
public static String convertToBitString(String bits)
Copyright © 2013 Thomas Borg Salling. All Rights Reserved.