com.croftsoft.core.util.cache
Class URLContentAccessor

java.lang.Object
  extended by com.croftsoft.core.util.cache.URLContentAccessor
All Implemented Interfaces:
ContentAccessor, Serializable

public class URLContentAccessor
extends Object
implements ContentAccessor, Serializable

A ContentAccessor that accesses the content via a URL.

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

Field Summary
protected  String urlName
           
 
Constructor Summary
URLContentAccessor(String urlName)
           
 
Method Summary
 InputStream getInputStream()
           
 String getURLName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urlName

protected String urlName
Constructor Detail

URLContentAccessor

public URLContentAccessor(String urlName)
                   throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getURLName

public String getURLName()

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface ContentAccessor
Throws:
IOException

CroftSoft Javadoc

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