net.sf.mmm.util.io.api
Interface DetectorOutputStream

All Superinterfaces:
DetectorStream
All Known Implementing Classes:
ProcessableDetectorOutputStream

public interface DetectorOutputStream
extends DetectorStream

This is the interface for a DetectorStream that wraps an OutputStream.

Since:
1.0.2
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Method Summary
 OutputStream getStream()
          This method gets the wrapped stream.
 
Methods inherited from interface net.sf.mmm.util.io.api.DetectorStream
getMetadata, isDone
 

Method Detail

getStream

OutputStream getStream()
This method gets the wrapped stream. After this stream is completely written and closed, the metadata can be retrieved. This requires that the entire data is written and no existing data is appended via the original stream. This method is a simple getter - it will always return the same stream object.

Returns:
the wrapper stream.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.