|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object animation.AnimationReader
public class AnimationReader
Static class for reading from a file animation stream.
The format for file animation streams can be found here.
Constructor Summary | |
---|---|
AnimationReader()
|
Method Summary | |
---|---|
static byte[] |
readOneFrame(java.io.InputStream sequence)
Returns the data from the next frame in the given file animation stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnimationReader()
Method Detail |
---|
public static byte[] readOneFrame(java.io.InputStream sequence) throws java.io.IOException, java.io.EOFException
If no frames remain, returns null. If the stream ends prematurely, throws an EOFException.
java.io.IOException
java.io.EOFException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |