public class RtfMemoryCache extends Object implements RtfDataCache
CACHE_DISK, CACHE_MEMORY, CACHE_MEMORY_EFFICIENT
Constructor and Description |
---|
RtfMemoryCache()
Constructs a RtfMemoryCache.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream()
Gets the ByteArrayOutputStream.
|
void |
writeTo(OutputStream target)
Writes the content of the ByteArrayOutputStream into the OutputStream.
|
public OutputStream getOutputStream()
getOutputStream
in interface RtfDataCache
public void writeTo(OutputStream target) throws IOException
writeTo
in interface RtfDataCache
target
- The OutputStream to write the content into.IOException
- If an error occurs reading/writing.Copyright © 2015. All rights reserved.