|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.communication.ResourceWriter
public class ResourceWriter
Serializes resources to JSON. Currently only used for CustomLayout
templates.
| Constructor Summary | |
|---|---|
ResourceWriter()
|
|
| Method Summary | |
|---|---|
void |
write(UI ui,
java.io.Writer writer,
JsonPaintTarget target)
Writes a JSON object containing registered resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceWriter()
| Method Detail |
|---|
public void write(UI ui,
java.io.Writer writer,
JsonPaintTarget target)
throws java.io.IOException
ui - The UI whose resources to write.writer - The Writer to use.target - The JsonPaintTarget containing the resources.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||