|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RtfDataCache
The RtfDataCache interface must be implemented by classes wishing to act as caches for the rtf document data.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
OutputStream |
getOutputStream()
Get the OutputStream that the RtfDocument can write to. |
void |
writeTo(OutputStream target)
Write the content of the cache into the OutputStream. |
Field Detail |
---|
static final int CACHE_MEMORY_EFFICIENT
static final int CACHE_MEMORY
static final int CACHE_DISK
Method Detail |
---|
OutputStream getOutputStream()
void writeTo(OutputStream target) throws IOException
target
- The OutputStream to write the content into.
IOException
- If an error occurs reading/writing.
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |