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