magick
Class ProfileInfo


public class ProfileInfo

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>

Field Summary
 (package private) byte[]info
          Profile information.
 (package private) Stringname
          Name of the profile.

Constructor Summary
ProfileInfo()
          Constructor.
ProfileInfo(String name, byte[] info)
          Constructor.

Method Summary
 byte[]getInfo()
          Get the profile info.
 StringgetName()
          Get the profile name.
 voidsetInfo(byte[] info)
          Set the profile info.
 voidsetName(String name)
          Set the profile name.

Field Detail

info

byte[] info
Profile information.

name

String name
Name of the profile.
Constructor Detail

ProfileInfo

public ProfileInfo()
Constructor.

ProfileInfo

public ProfileInfo(String name, byte[] info)
Constructor.
Parameters:
name name of the profile
info the profile information
Method Detail

getInfo

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

getName

public String getName()
Get the profile name.
Returns: the profile name

setInfo

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

setName

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

Association Links

to Class java.lang.String

Name of the profile.

JMagick