imagefileresource.java

来自「很棒的web服务器源代码」· Java 代码 · 共 26 行

JAVA
26
字号
// ImageFileResource.java// $Id: ImageFileResource.java,v 1.2 2003/01/24 14:59:55 cbournez Exp $// (c) COPYRIGHT MIT, INRIA and Keio, 1999.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.jigsaw.resources;import org.w3c.tools.resources.FileResource;import java.io.InputStream;import java.io.IOException;public abstract class ImageFileResource extends FileResource {    /**     * Save the given stream as the underlying image comment content.     * This method preserve the old file version in a <code>~</code> file.     * @param in The input stream to use as the resource entity.     * @return A boolean, <strong>true</strong> if the resource was just     * created, <strong>false</strong> otherwise.     * @exception IOException If dumping the content failed.     */    public abstract boolean newMetadataContent(InputStream in)	throws IOException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?