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, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public 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
IOException
public void flushOpenFiles(boolean closeAfterFlush)
public void closeFile(String filename) throws IOException
IOException
public void closeStream(OutputStream outputStream) throws IOException
IOException
public int size()
Copyright © 2018 Hitachi Vantara. All rights reserved.