public class ResourceWriter extends Object implements Serializable
CustomLayout
templates.Constructor and Description |
---|
ResourceWriter() |
Modifier and Type | Method and Description |
---|---|
void |
write(UI ui,
Writer writer,
JsonPaintTarget target)
Writes a JSON object containing registered resources.
|
public void write(UI ui, Writer writer, JsonPaintTarget target) throws IOException
ui
- The UI
whose resources to write.writer
- The Writer
to use.target
- The JsonPaintTarget
containing the resources.IOException
Copyright © 2019 Vaadin Ltd. All rights reserved.