public class BonesIO extends Object
Contains static loader and saver methods.
Modifier and Type | Method and Description |
---|---|
static AnimatedGroup |
loadGroup(InputStream in)
Loads an
AnimatedGroup from given stream. |
static Animated3D |
loadObject(InputStream in)
Loads an
Animated3D from given stream. |
static void |
saveGroup(AnimatedGroup group,
OutputStream out)
Saves given skin group to given stream.
|
static void |
saveObject(Animated3D object,
OutputStream out)
Saves given
Animated3D to given stream. |
public static void saveGroup(AnimatedGroup group, OutputStream out) throws IOException
Saves given skin group to given stream.
IOException
AnimatedGroup
public static void saveObject(Animated3D object, OutputStream out) throws IOException
Saves given Animated3D
to given stream.
IOException
Animated3D
public static Animated3D loadObject(InputStream in) throws IOException
Loads an Animated3D
from given stream. Object should be saved to stream
via saveObject(Animated3D, OutputStream)
IOException
Animated3D
,
saveObject(Animated3D, OutputStream)
public static AnimatedGroup loadGroup(InputStream in) throws IOException
Loads an AnimatedGroup
from given stream. Group should be saved to stream
via saveGroup(AnimatedGroup, OutputStream)
IOException
AnimatedGroup
,
saveGroup(AnimatedGroup, OutputStream)