org.apache.avalon.excalibur.monitor
Class StreamResource

java.lang.Object
  |
  +--org.apache.avalon.excalibur.monitor.Resource
        |
        +--org.apache.avalon.excalibur.monitor.StreamResource
All Implemented Interfaces:
Modifiable
Direct Known Subclasses:
FileResource, SourceResource

public abstract synchronized class StreamResource
extends Resource


Fields inherited from class org.apache.avalon.excalibur.monitor.Resource
m_eventSupport, m_previousModified, MODIFIED
 
Constructor Summary
StreamResource(java.lang.String)
           
 
Method Summary
abstract  java.io.Reader getResourceAsReader()
           
abstract  java.io.InputStream getResourceAsStream()
           
abstract  java.io.OutputStream setResourceAsStream()
           
abstract  java.io.Writer setResourceAsWriter()
           
protected  void streamClosedEvent()
           
 
Methods inherited from class org.apache.avalon.excalibur.monitor.Resource
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListenersFrom, getResourceKey, hasListeners, hasListeners, lastModified, removeAllPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, testModifiedAfter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamResource

public StreamResource(java.lang.String)
               throws java.lang.Exception
Method Detail

getResourceAsStream

public abstract java.io.InputStream getResourceAsStream()
                                                 throws java.io.IOException

getResourceAsReader

public abstract java.io.Reader getResourceAsReader()
                                            throws java.io.IOException

setResourceAsStream

public abstract java.io.OutputStream setResourceAsStream()
                                                  throws java.io.IOException

setResourceAsWriter

public abstract java.io.Writer setResourceAsWriter()
                                            throws java.io.IOException

streamClosedEvent

protected void streamClosedEvent()


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.