public class TextFileOutputData.FileStreamsList extends Object
Constructor and Description |
---|
FileStreamsList() |
Modifier and Type | Method and 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() |
public TextFileOutputData.FileStream getStream(String filename)
public void closeOldestOpenFile(boolean removeFileFromCollection) throws IOException
IOException
public void flushOpenFiles(boolean closeAfterFlush) throws IOException
IOException
public String getLastFileName()
public TextFileOutputData.FileStream getLastStream()
public int getNumOpenFiles()
public void closeFile(String filename) throws IOException
IOException
public void closeStream(OutputStream outputStream) throws IOException
IOException
public int size()
public void add(String filename, TextFileOutputData.FileStream fileStreams)
Copyright © 2018 Hitachi Vantara. All rights reserved.