public class FormatCompliance
extends java.lang.Object
Constructor and Description |
---|
FormatCompliance(java.lang.String description) |
FormatCompliance(java.lang.String description,
boolean failOnError) |
Modifier and Type | Method and 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() |
public FormatCompliance(java.lang.String description)
public FormatCompliance(java.lang.String description, boolean failOnError)
public static FormatCompliance getDefault()
public void addComment(java.lang.String comment) throws ImageReadException
ImageReadException
public void addComment(java.lang.String comment, int value) throws ImageReadException
ImageReadException
public java.lang.String toString()
toString
in class java.lang.Object
public void dump()
public void dump(java.io.PrintWriter pw)
public boolean compareBytes(java.lang.String name, byte[] expected, byte[] actual) throws ImageReadException
ImageReadException
public boolean checkBounds(java.lang.String name, int min, int max, int actual) throws ImageReadException
ImageReadException
public boolean compare(java.lang.String name, int valid, int actual) throws ImageReadException
ImageReadException
public boolean compare(java.lang.String name, int[] valid, int actual) throws ImageReadException
ImageReadException
Copyright © 2010 - 2020 Adobe. All Rights Reserved