public class TextFileOutputData.FileStreamsMap extends TreeMap<TextFileOutputData.FileStreamsKey,TextFileOutputData.FileStream>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
FileStreamsMap()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(String filename,
   TextFileOutputData.FileStream fileWriterOutputStream)  | 
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()  | 
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, removepublic void add(String filename, TextFileOutputData.FileStream fileWriterOutputStream)
public TextFileOutputData.FileStream getStream(String filename)
public String getLastFileName()
public TextFileOutputData.FileStream getLastStream()
public int getNumOpenFiles()
public void closeOldestOpenFile(boolean removeFileFromCollection)
                         throws IOException
IOExceptionpublic void flushOpenFiles(boolean closeAfterFlush)
public void closeFile(String filename) throws IOException
IOExceptionpublic void closeStream(OutputStream outputStream) throws IOException
IOExceptionpublic int size()
Copyright © 2018 Hitachi Vantara. All rights reserved.