public class SimpleOutputStreamExporterOutput extends Object implements OutputStreamExporterOutput
Constructor and Description |
---|
SimpleOutputStreamExporterOutput(File file)
Creates a
OutputStreamExporterOutput instance that puts the result into the provided java.io.File object. |
SimpleOutputStreamExporterOutput(OutputStream outputStream)
Creates a
OutputStreamExporterOutput instance that puts the result into provided java.io.OutputStream object. |
SimpleOutputStreamExporterOutput(String fileName)
Creates a
OutputStreamExporterOutput instance that puts the result into the file designated by the provided file name. |
public SimpleOutputStreamExporterOutput(OutputStream outputStream)
OutputStreamExporterOutput
instance that puts the result into provided java.io.OutputStream object.
This is useful for sending the export result to an output stream, such as a ServletOutputStream.public SimpleOutputStreamExporterOutput(File file)
OutputStreamExporterOutput
instance that puts the result into the provided java.io.File object.
This is useful when exporting to a file and the File instance is already there.public SimpleOutputStreamExporterOutput(String fileName)
OutputStreamExporterOutput
instance that puts the result into the file designated by the provided file name.
This is an alternative to the SimpleOutputStreamExporterOutput(File)
.public OutputStream getOutputStream()
getOutputStream
in interface OutputStreamExporterOutput
public void close()
close
in interface OutputStreamExporterOutput
Copyright © 2015. All rights reserved.