org.backsource.utils.io
Class DOMCachedOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byjava.io.BufferedOutputStream
              extended byorg.backsource.utils.io.CachedOutputStream
                  extended byorg.backsource.utils.io.DOMCachedOutputStream

public class DOMCachedOutputStream
extends CachedOutputStream

A cached stream that uses a DOMOutputStream.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman

Field Summary
 
Fields inherited from class java.io.BufferedOutputStream
buf, count
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
DOMCachedOutputStream()
           
 
Method Summary
 java.lang.Object getSink()
          Get the underlying object the stream uses as its place to store data.
 DOMOutputStream getStream()
          Get the underlying DOMOutputStream.
 
Methods inherited from class java.io.BufferedOutputStream
flush, write, write
 
Methods inherited from class java.io.FilterOutputStream
close, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMCachedOutputStream

public DOMCachedOutputStream()
Method Detail

getStream

public DOMOutputStream getStream()
Get the underlying DOMOutputStream.


getSink

public java.lang.Object getSink()
                         throws java.io.IOException
Description copied from class: CachedOutputStream
Get the underlying object the stream uses as its place to store data.

This should normally not be used by other stream than is matching input stream of StreamCache, wich knows how to to cast this into a correct type.

Specified by:
getSink in class CachedOutputStream
Throws:
java.io.IOException


Copyright © 2000-2004 Backsource. All Rights Reserved.