Class TextFileOutputData.FileStreamsMap
java.lang.Object
org.pentaho.di.trans.steps.textfileoutput.TextFileOutputData.FileStreamsMap
- Enclosing class:
- TextFileOutputData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(String fileName, TextFileOutputData.FileStream fileWriterOutputStream) void
void
closeOldestOpenFile
(boolean removeFileFromCollection) void
closeStream
(OutputStream outputStream) void
flushOpenFiles
(boolean closeAfterFlush) int
int
size()
-
Constructor Details
-
FileStreamsMap
public FileStreamsMap()
-
-
Method Details
-
size
public int size() -
add
-
getStream
-
getLastFileName
-
getLastStream
-
getNumOpenFiles
public int getNumOpenFiles() -
closeOldestOpenFile
- Throws:
IOException
-
flushOpenFiles
public void flushOpenFiles(boolean closeAfterFlush) -
closeFile
- Throws:
IOException
-
closeStream
- Throws:
IOException
-