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
IOExceptionpublic void flushOpenFiles(boolean closeAfterFlush)
throws IOException
IOExceptionpublic String getLastFileName()
public TextFileOutputData.FileStream getLastStream()
public int getNumOpenFiles()
public void closeFile(String filename) throws IOException
IOExceptionpublic void closeStream(OutputStream outputStream) throws IOException
IOExceptionpublic int size()
public void add(String filename, TextFileOutputData.FileStream fileStreams)
Copyright © 2018 Hitachi Vantara. All rights reserved.