magick
Class ProfileInfo

java.lang.Object
  extended by magick.ProfileInfo

public class ProfileInfo
extends java.lang.Object

Class encapsulating some profile related to a image. This class corresponds to the ProfileInfo structure in the C API. ProfileInfo is currently used in the Image structure to store the ICC and IPTC profiles.

Author:
Eric Yeo <ttey@yeo.nu>

Constructor Summary
ProfileInfo()
          Constructor.
ProfileInfo(java.lang.String name, byte[] info)
          Constructor.
 
Method Summary
 byte[] getInfo()
          Get the profile info.
 java.lang.String getName()
          Get the profile name.
 void setInfo(byte[] info)
          Set the profile info.
 void setName(java.lang.String name)
          Set the profile name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileInfo

public ProfileInfo()
Constructor.


ProfileInfo

public ProfileInfo(java.lang.String name,
                   byte[] info)
Constructor.

Parameters:
name - name of the profile
info - the profile information
Method Detail

getName

public java.lang.String getName()
Get the profile name.

Returns:
the profile name

setName

public void setName(java.lang.String name)
Set the profile name.


getInfo

public byte[] getInfo()
Get the profile info.

Returns:
the profile info

setInfo

public void setInfo(byte[] info)
Set the profile info.