public interface RtfDataCache
| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_DISK
Constant for caching to the disk.
|
static int |
CACHE_MEMORY
Constant for caching into memory.
|
static int |
CACHE_MEMORY_EFFICIENT
Constant for caching efficiently into memory.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Get the OutputStream that the RtfDocument can write to.
|
void |
writeTo(OutputStream target)
Write the content of the cache into the OutputStream.
|
static final int CACHE_MEMORY_EFFICIENT
static final int CACHE_MEMORY
static final int CACHE_DISK
OutputStream getOutputStream()
void writeTo(OutputStream target) throws IOException
target - The OutputStream to write the content into.IOException - If an error occurs reading/writing.Copyright © 2015. All rights reserved.