Interface AisExtractorFactory


  • public interface AisExtractorFactory
    This factory creates AisExtractor instances. It is in use so that we can mock AisExtractors used by the message parsers (for example AisPositionA.
    Author:
    dxm
    • Method Detail

      • create

        AisExtractor create​(java.lang.String message,
                            int minLength,
                            int padBits)
        Returns an extractor for the given message. If the decoded message does not have the specified minimum length then an AisParseException is thrown.
        Parameters:
        message -
        minLength -
        padBits -
        Returns: