Package org.xwiki.filter.output
Class DefaultWriterOutputTarget
- java.lang.Object
-
- org.xwiki.filter.output.DefaultWriterOutputTarget
-
- All Implemented Interfaces:
Closeable,AutoCloseable,OutputTarget,WriterOutputTarget
public class DefaultWriterOutputTarget extends Object implements WriterOutputTarget
- Since:
- 6.2M1
- Version:
- $Id: 6b33f3ab5b5ff43d7ca90e252e3b5c02472296c4 $
-
-
Constructor Summary
Constructors Constructor Description DefaultWriterOutputTarget(Writer writer)DefaultWriterOutputTarget(Writer writer, boolean close)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()WritergetWriter()booleanrestartSupported()StringtoString()
-
-
-
Method Detail
-
restartSupported
public boolean restartSupported()
- Specified by:
restartSupportedin interfaceOutputTarget- Returns:
- true if it's possible to close and reset the target to its beginning
-
getWriter
public Writer getWriter()
- Specified by:
getWriterin interfaceWriterOutputTarget
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-