public class BundleUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_PATH
The path to the metadata resource that we will attempt to load
from our resource set.
|
| Constructor and Description |
|---|
BundleUtil() |
| Modifier and Type | Method and Description |
|---|---|
static TileSetBundle |
extractBundle(File file)
Extracts, but does not initialize, a serialized tileset bundle
instance from the supplied file.
|
static TileSetBundle |
extractBundle(ResourceBundle bundle)
Extracts, but does not initialize, a serialized tileset bundle
instance from the supplied resource bundle.
|
public static final String METADATA_PATH
public static TileSetBundle extractBundle(ResourceBundle bundle) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static TileSetBundle extractBundle(File file) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2015. All rights reserved.