📄 profileinfo.java
字号:
package magick;/** * 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> */public class ProfileInfo { /** * Name of the profile. */ String name = null; /** * Profile information. */ byte[] info = null; /** * Constructor. */ public ProfileInfo() { } /** * Constructor. * @param name name of the profile * @param info the profile information */ public ProfileInfo(String name, byte[] info) { this.name = name; this.info = info; } /** * Get the profile name. * @return the profile name */ public String getName() { return name; } /** * Set the profile name. */ public void setName(String name) { this.name = name; } /** * Get the profile info. * @return the profile info */ public byte[] getInfo() { return info; } /** * Set the profile info. */ public void setInfo(byte[] info) { this.info = info; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -