Class TextFileOutputData.FileStreamsList
- java.lang.Object
-
- org.pentaho.di.trans.steps.textfileoutput.TextFileOutputData.FileStreamsList
-
- Enclosing class:
- TextFileOutputData
public class TextFileOutputData.FileStreamsList extends Object
-
-
Constructor Summary
Constructors Constructor Description FileStreamsList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String filename, TextFileOutputData.FileStream fileStreams)voidcloseFile(String filename)voidcloseOldestOpenFile(boolean removeFileFromCollection)voidcloseStream(OutputStream outputStream)voidflushOpenFiles(boolean closeAfterFlush)StringgetLastFileName()TextFileOutputData.FileStreamgetLastStream()intgetNumOpenFiles()TextFileOutputData.FileStreamgetStream(String filename)intsize()
-
-
-
Method Detail
-
getStream
public TextFileOutputData.FileStream getStream(String filename)
-
closeOldestOpenFile
public void closeOldestOpenFile(boolean removeFileFromCollection) throws IOException- Throws:
IOException
-
flushOpenFiles
public void flushOpenFiles(boolean closeAfterFlush) throws IOException- Throws:
IOException
-
getLastFileName
public String getLastFileName()
-
getLastStream
public TextFileOutputData.FileStream getLastStream()
-
getNumOpenFiles
public int getNumOpenFiles()
-
closeFile
public void closeFile(String filename) throws IOException
- Throws:
IOException
-
closeStream
public void closeStream(OutputStream outputStream) throws IOException
- Throws:
IOException
-
size
public int size()
-
add
public void add(String filename, TextFileOutputData.FileStream fileStreams)
-
-