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 void
add(String filename, TextFileOutputData.FileStream fileStreams)
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
-
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)
-
-