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

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

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. More...
 

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-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