|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.rtf.document.output.RtfEfficientMemoryCache
public class RtfEfficientMemoryCache
The RtfEfficientMemoryCache is an RtfDataCache that keeps the whole rtf document
data in memory.
More efficient than RtfMemoryCache.
| Field Summary | |
|---|---|
private RtfByteArrayBuffer |
bab
The buffer for the rtf document data. |
| Fields inherited from interface com.lowagie.text.rtf.document.output.RtfDataCache |
|---|
CACHE_DISK, CACHE_MEMORY, CACHE_MEMORY_EFFICIENT |
| Constructor Summary | |
|---|---|
RtfEfficientMemoryCache()
Constructs a RtfMemoryCache. |
|
| Method Summary | |
|---|---|
java.io.OutputStream |
getOutputStream()
Gets the OutputStream. |
void |
writeTo(java.io.OutputStream target)
Writes the content of the buffer into the OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final RtfByteArrayBuffer bab
| Constructor Detail |
|---|
public RtfEfficientMemoryCache()
| Method Detail |
|---|
public java.io.OutputStream getOutputStream()
getOutputStream in interface RtfDataCache
public void writeTo(java.io.OutputStream target)
throws java.io.IOException
writeTo in interface RtfDataCachetarget - The OutputStream to write the content into.
java.io.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 | ||||||||