TFORMer SDK - JAVA  7.0
Public Member Functions
FilesOutputStreamFactory Class Reference

Class that creates a file in the selected directory. More...

List of all members.

Public Member Functions

 FilesOutputStreamFactory (String directoryName) throws TFormerException
 Constructor with the parent directory name.
 FilesOutputStreamFactory (File directory) throws TFormerException
 Constructor with the parent directory name.
OutputStream createOutputStream (String name) throws IOException
 Create a new file and return the associated output stream.

Detailed Description

Class that creates a file in the selected directory.

This class is a simple implementation of OutputStreamFactory. It creates an output file in the selected directory using the filename passed by TFORMer SDK.


Member Function Documentation

OutputStream createOutputStream ( String  name) throws IOException

Create a new file and return the associated output stream.

Parameters:
nameFile name
Returns:
a valid instance
Exceptions:
IOExceptionException while creating the stream

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