Class FormatCompliance


  • public class FormatCompliance
    extends java.lang.Object
    Provides information about the compliance of a specified data source (byte array, file, etc.) to an image format.
    • Constructor Summary

      Constructors 
      Constructor Description
      FormatCompliance​(java.lang.String description)  
      FormatCompliance​(java.lang.String description, boolean failOnError)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addComment​(java.lang.String comment)  
      void addComment​(java.lang.String comment, int value)  
      boolean checkBounds​(java.lang.String name, int min, int max, int actual)  
      boolean compare​(java.lang.String name, int[] valid, int actual)  
      boolean compare​(java.lang.String name, int valid, int actual)  
      boolean compareBytes​(java.lang.String name, byte[] expected, byte[] actual)  
      void dump()  
      void dump​(java.io.PrintWriter pw)  
      static FormatCompliance getDefault()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FormatCompliance

        public FormatCompliance​(java.lang.String description)
      • FormatCompliance

        public FormatCompliance​(java.lang.String description,
                                boolean failOnError)