Package org.apache.commons.imaging
Class FormatCompliance
java.lang.Object
org.apache.commons.imaging.FormatCompliance
Provides information about the compliance of a specified data source (byte array, file, etc.) to an image format.
- 
Constructor SummaryConstructorsConstructorDescriptionFormatCompliance(String description) FormatCompliance(String description, boolean failOnError) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddComment(String comment) voidaddComment(String comment, int value) booleancheckBounds(String name, int min, int max, int actual) booleanbooleanbooleancompareBytes(String name, byte[] expected, byte[] actual) voiddump()voiddump(PrintWriter pw) static FormatCompliancetoString()
- 
Constructor Details- 
FormatCompliance
- 
FormatCompliance
 
- 
- 
Method Details- 
getDefault
- 
addComment- Throws:
- ImagingException
 
- 
addComment- Throws:
- ImagingException
 
- 
checkBounds- Throws:
- ImagingException
 
- 
compare- Throws:
- ImagingException
 
- 
compare- Throws:
- ImagingException
 
- 
compareBytes- Throws:
- ImagingException
 
- 
dump
- 
dump
- 
toString
 
-