Package org.xwiki.filter.output
Class DefaultFileOutputTarget
- java.lang.Object
-
- org.xwiki.filter.output.AbstractOutputStreamOutputTarget
-
- org.xwiki.filter.output.DefaultFileOutputTarget
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileOutputTarget
,OutputStreamOutputTarget
,OutputTarget
public class DefaultFileOutputTarget extends AbstractOutputStreamOutputTarget implements FileOutputTarget
- Since:
- 6.2M1
- Version:
- $Id: 7a014b0cecd01372df06b6b69a813f84447a95aa $
-
-
Field Summary
-
Fields inherited from class org.xwiki.filter.output.AbstractOutputStreamOutputTarget
outputStream
-
-
Constructor Summary
Constructors Constructor Description DefaultFileOutputTarget(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getFile()
protected OutputStream
openStream()
-
Methods inherited from class org.xwiki.filter.output.AbstractOutputStreamOutputTarget
close, getOutputStream, restartSupported
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.filter.output.OutputTarget
restartSupported
-
-
-
-
Constructor Detail
-
DefaultFileOutputTarget
public DefaultFileOutputTarget(File file)
-
-
Method Detail
-
getFile
public File getFile()
- Specified by:
getFile
in interfaceFileOutputTarget
-
openStream
protected OutputStream openStream() throws IOException
- Specified by:
openStream
in classAbstractOutputStreamOutputTarget
- Throws:
IOException
-
-