org.xwiki.wikistream.output
Interface OutputTarget

All Superinterfaces:
Closeable
All Known Subinterfaces:
FileOutputTarget, OutputStreamOutputTarget, WriterOutputTarget

@Unstable
public interface OutputTarget
extends Closeable

Represent a target were to store data generated by a wiki stream output stream. What kind of OutputTarget is supported by each input stream is entirely output stream choice.

#clone() is only closing Closeable created by the OutputTarget itself. For example DefaultOutputStreamOutputTarget is not going to close the OutputStream passed to its constructor because it did not created it.

Since:
5.2M2
Version:
$Id: f33b6882b96cff646750d7428a91d3ef802ac86f $

Method Summary
 boolean restartSupported()
           
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

restartSupported

boolean restartSupported()
Returns:
true if it's possible to close and reset the target to its beginning
Since:
5.2RC1


Copyright © 2004–2014 XWiki. All rights reserved.