Package org.apache.commons.imaging.icc
Class IccTag
- java.lang.Object
-
- org.apache.commons.imaging.icc.IccTag
-
public class IccTag extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]dataprivate intdataTypeSignatureIccTagTypefIccTagTypeprivate IccTagDataTypeitdtintlengthprivate static java.util.logging.LoggerLOGGERintoffset(package private) static intSHALLOW_SIZEintsignature
-
Constructor Summary
Constructors Constructor Description IccTag(int signature, int offset, int length, IccTagType fIccTagType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(java.io.PrintWriter pw, java.lang.String prefix)voiddump(java.lang.String prefix)private IccTagDataTypegetIccTagDataType(int quad)voidsetData(byte[] bytes)
-
-
-
Field Detail
-
SHALLOW_SIZE
static final int SHALLOW_SIZE
- See Also:
- Constant Field Values
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
signature
public final int signature
-
offset
public final int offset
-
length
public final int length
-
fIccTagType
public final IccTagType fIccTagType
-
data
private byte[] data
-
itdt
private IccTagDataType itdt
-
dataTypeSignature
private int dataTypeSignature
-
-
Constructor Detail
-
IccTag
public IccTag(int signature, int offset, int length, IccTagType fIccTagType)
-
-
Method Detail
-
dump
public void dump(java.io.PrintWriter pw, java.lang.String prefix) throws ImagingException, java.io.IOException- Throws:
ImagingExceptionjava.io.IOException
-
dump
public void dump(java.lang.String prefix) throws ImagingException, java.io.IOException- Throws:
ImagingExceptionjava.io.IOException
-
getIccTagDataType
private IccTagDataType getIccTagDataType(int quad)
-
setData
public void setData(byte[] bytes) throws java.io.IOException- Throws:
java.io.IOException
-
-