📄 contentaccessor.java
字号:
package com.croftsoft.core.util.cache;
import java.io.*;
/*********************************************************************
* An object capable of making content accessible via an InputStream.
*
* <P>
*
* For example, a ContentAccessor might retrieve content from a
* website via a URL, a database or file storage, a remote object
* such as another cache, or even dynamically generate the content
* upon demand.
*
* <P>
*
* As yet another possibility, a ContentAccessor object
* may potentially attempt to access the content from several
* different sources sequentially until it is successful.
*
* @see
* URLContentAccessor
*
* @version
* 1999-04-24
* @author
* <A HREF="http://www.alumni.caltech.edu/~croft/">David W. Croft</A>
*********************************************************************/
public interface ContentAccessor
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
{
public InputStream getInputStream ( ) throws IOException;
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -