TFORMer SDK - JAVA  7.0
Public Member Functions
SingleOutputStreamFactory Class Reference

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

List of all members.

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.

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-2012 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue Oct 23 2012 16:33:20 for TFORMer SDK - JAVA with doxygen 1.8.0