icc.types
Class ICCProfileVersion

java.lang.Object
  |
  +--icc.types.ICCProfileVersion

public class ICCProfileVersion
extends java.lang.Object

This class describes the ICCProfile Version as contained in the header of the ICC Profile.

See Also:
jj2000.j2k.icc.ICCProfile, jj2000.j2k.icc.types.ICCProfileHeader

Field Summary
private  byte reserved1
           
private  byte reserved2
           
static int size
          Field size
 byte uMajor
          Major revision number in binary coded decimal
 byte uMinor
          Minor revision in high nibble, bug fix revision in low nibble, both in binary coded decimal
 
Constructor Summary
ICCProfileVersion(byte major, byte minor, byte res1, byte res2)
          Construct from constituent parts.
 
Method Summary
 java.lang.String toString()
          String representation of class instance.
 void write(java.io.RandomAccessFile raf)
          Construct from file content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

size

public static final int size
Field size

See Also:
Constant Field Values

uMajor

public byte uMajor
Major revision number in binary coded decimal


uMinor

public byte uMinor
Minor revision in high nibble, bug fix revision in low nibble, both in binary coded decimal


reserved1

private byte reserved1

reserved2

private byte reserved2
Constructor Detail

ICCProfileVersion

public ICCProfileVersion(byte major,
                         byte minor,
                         byte res1,
                         byte res2)
Construct from constituent parts.

Method Detail

write

public void write(java.io.RandomAccessFile raf)
           throws java.io.IOException
Construct from file content.

java.io.IOException

toString

public java.lang.String toString()
String representation of class instance.

Overrides:
toString in class java.lang.Object