TFORMer SDK - JAVA  7.5
Public Member Functions | List of all members
SingleOutputStreamFactory Class Reference

Class that implements the output stream factory using a single output stream. More...

Public Member Functions

 SingleOutputStreamFactory (OutputStream stream) throws TFormerException
 Constructor with the stream instance.
 
 SingleOutputStreamFactory (String fileName) throws TFormerException
 Constructor with a file.
 
OutputStream createOutputStream (String name) throws IOException
 Create a new output stream. More...
 

Detailed Description

Class that implements the output stream factory using a single output stream.

This class is a simple implementation of OutputStreamFactory and is useful in case of a single document.

Member Function Documentation

OutputStream createOutputStream ( String  name) throws IOException

Create a new output stream.

Parameters
nameName associated with the stream (ignored by this class)
Returns
A valid instance
Exceptions
IOExceptionexception if the stream is already used

Implements OutputStreamFactory.


© 2006-2017 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Fri Nov 3 2017 07:59:14 for TFORMer SDK - JAVA with doxygen 1.8.9.1