public final class ThemeIO
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JSON_EXT
Extension of the json format
|
static java.lang.String |
XML_EXT
Extension of the xml format
|
| Modifier and Type | Method and Description |
|---|---|
static void |
read(Stream stream,
AssetManager assets,
Theme theme)
Read a
theme.xml file. |
public static final java.lang.String XML_EXT
public static final java.lang.String JSON_EXT
public static void read(Stream stream, AssetManager assets, Theme theme) throws java.io.IOException
theme.xml file.stream - the theme.xml Streamassets - reference to an AssetManager to store texturestheme - reference to a Theme to store the xml contentsjava.io.IOExceptionBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com