APIdia Launch Partner
Top Fields Constructors Methods
sun.java2d.cmm

public Class ProfileDataVerifier

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final int
private static final int
MAX_TAG_COUNT

Lcms limit for the number of tags: 100 Kcms limit for the number of tags: N/A

private static final int
private static final int
private static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static int
getTagOffset(int idx, byte[] data)

private static int
getTagSize(int idx, byte[] data)

private static int
readInt32(byte[] data, int off)

public static void
verify(byte[]
the specified profile data.
data
)

Throws an IllegalArgumentException if the data does not correspond to a valid ICC Profile.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

HEADER_SIZEback to summary
public static final int HEADER_SIZE
MAX_TAG_COUNTback to summary
private static final int MAX_TAG_COUNT

Lcms limit for the number of tags: 100 Kcms limit for the number of tags: N/A

PROFILE_FILE_SIGNATUREback to summary
private static final int PROFILE_FILE_SIGNATURE
TOC_OFFSETback to summary
private static final int TOC_OFFSET
TOC_RECORD_SIZEback to summary
private static final int TOC_RECORD_SIZE

Constructor Detail

ProfileDataVerifierback to summary
public ProfileDataVerifier()

Method Detail

getTagOffsetback to summary
private static int getTagOffset(int idx, byte[] data)
getTagSizeback to summary
private static int getTagSize(int idx, byte[] data)
readInt32back to summary
private static int readInt32(byte[] data, int off)
verifyback to summary
public static void verify(byte[] data)

Throws an IllegalArgumentException if the data does not correspond to a valid ICC Profile.

Parameters
data:byte[]

the specified profile data.