Interface ResponseValidator


public interface ResponseValidator
An interface defining a method to validate whether a response from the printer is complete.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isResponseComplete(byte[] input)
    Provide a method to determine whether a response from the printer is a complete response.
  • Method Details

    • isResponseComplete

      boolean isResponseComplete(byte[] input)
      Provide a method to determine whether a response from the printer is a complete response.
      Parameters:
      input - string to be validated
      Returns:
      true if the string is a complete response