com.croftsoft.core.util.cache
Interface ContentAccessor

All Known Implementing Classes:
URLContentAccessor

public interface ContentAccessor

An object capable of making content accessible via an InputStream.

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.

As yet another possibility, a ContentAccessor object may potentially attempt to access the content from several different sources sequentially until it is successful.

Version:
1999-04-24
See Also:
URLContentAccessor
Author:
David Wallace Croft

Method Summary
 InputStream getInputStream()
           
 

Method Detail

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)