com.threerings.media.tile.bundle
Class BundleUtil
java.lang.Object
com.threerings.media.tile.bundle.BundleUtil
public class BundleUtil
- extends Object
Bundle related utility functions.
|
Field Summary |
static String |
METADATA_PATH
The path to the metadata resource that we will attempt to load
from our resource set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METADATA_PATH
public static final String METADATA_PATH
- The path to the metadata resource that we will attempt to load
from our resource set.
- See Also:
- Constant Field Values
BundleUtil
public BundleUtil()
extractBundle
public static TileSetBundle extractBundle(ResourceBundle bundle)
throws IOException,
ClassNotFoundException
- Extracts, but does not initialize, a serialized tileset bundle
instance from the supplied resource bundle.
- Throws:
IOException
ClassNotFoundException
extractBundle
public static TileSetBundle extractBundle(File file)
throws IOException,
ClassNotFoundException
- Extracts, but does not initialize, a serialized tileset bundle
instance from the supplied file.
- Throws:
IOException
ClassNotFoundException