public interface ExtensibilityContent
Defines an object that can be have character strings appended to it and flushed. At
its most basic level a ExtensibilityContent could just be a StringBuilder
but it is provided to allow ContentModelElements the capability to accept
character strings that are then manipulated before being flushed.
This interface has primarily been introduced to support the capability of building up merged JSON strings which can then be output as a single JavaScript command
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Should be implemented to flush the content that has been constructed
|
void |
write(char[] cbuf,
int off,
int len)
Should be implemented to allow content to be appended
|
void write(char[] cbuf,
int off,
int len)
throws IOException
Should be implemented to allow content to be appended
IOExceptionvoid flush()
Should be implemented to flush the content that has been constructed
Copyright © 2005–2018 Alfresco Software. All rights reserved.