jpegcommentdirectory.java
来自「基于java平台的一个桌面相册,个人的电子相册...用eclipse开发的,管理」· Java 代码 · 共 50 行
JAVA
50 行
/* * This is public domain software - that is, you can do whatever you want * with it, and include it software that is licensed under the GNU or the * BSD license, or whatever other licence you choose, including proprietary * closed source licenses. I do ask that you leave this header in tact. * * If you make modifications to this code that you think would benefit the * wider community, please send me a copy and I'll post it on my site. * * If you make use of this code, I'd appreciate hearing about it. * drew@drewnoakes.com * Latest version of this software kept at * http://drewnoakes.com/ * * Created by dnoakes on Oct 10, 2003 using IntelliJ IDEA. */package com.drew.metadata.jpeg;import com.drew.metadata.Directory;import java.util.HashMap;/** * * @author Drew Noakes http://drewnoakes.com */public class JpegCommentDirectory extends Directory { /** This is in bits/sample, usually 8 (12 and 16 not supported by most software). */ public static final int TAG_JPEG_COMMENT = 0; protected static final HashMap tagNameMap = new HashMap(); static { tagNameMap.put(new Integer(TAG_JPEG_COMMENT), "Jpeg Comment"); } public JpegCommentDirectory() { this.setDescriptor(new JpegCommentDescriptor(this)); } public String getName() { return "JpegComment"; } protected HashMap getTagNameMap() { return tagNameMap; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?