Class TextFileOutputData.FileStreamsMap
- java.lang.Object
-
- org.pentaho.di.trans.steps.textfileoutput.TextFileOutputData.FileStreamsMap
-
- Enclosing class:
- TextFileOutputData
public class TextFileOutputData.FileStreamsMap extends Object
-
-
Constructor Summary
Constructors Constructor Description FileStreamsMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(String fileName, TextFileOutputData.FileStream fileWriterOutputStream)
void
closeFile(String filename)
void
closeOldestOpenFile(boolean removeFileFromCollection)
void
closeStream(OutputStream outputStream)
void
flushOpenFiles(boolean closeAfterFlush)
String
getLastFileName()
TextFileOutputData.FileStream
getLastStream()
int
getNumOpenFiles()
TextFileOutputData.FileStream
getStream(String filename)
int
size()
-
-
-
Method Detail
-
size
public int size()
-
add
public void add(String fileName, TextFileOutputData.FileStream fileWriterOutputStream)
-
getStream
public TextFileOutputData.FileStream getStream(String filename)
-
getLastFileName
public String getLastFileName()
-
getLastStream
public TextFileOutputData.FileStream getLastStream()
-
getNumOpenFiles
public int getNumOpenFiles()
-
closeOldestOpenFile
public void closeOldestOpenFile(boolean removeFileFromCollection) throws IOException
- Throws:
IOException
-
flushOpenFiles
public void flushOpenFiles(boolean closeAfterFlush)
-
closeFile
public void closeFile(String filename) throws IOException
- Throws:
IOException
-
closeStream
public void closeStream(OutputStream outputStream) throws IOException
- Throws:
IOException
-
-