public class StreamedAnimationLoader extends StreamableAnimationLoader
JAnimgen
in streamed generation mode.Constructor and Description |
---|
StreamedAnimationLoader(JAOptions jopts,
java.io.InputStream sins)
Constructs a new animation loader for the given options set and
SiGML input stream, and with no
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.io.InputStream sins,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given options set and
SiGML input stream, and using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.lang.String url)
Constructs a new animation loader for the given options set and
SiGML URL, and with no
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.io.StringReader srdr)
Constructs a new animation loader for the given options set and
SiGML string reader, and with no
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.io.StringReader srdr,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given options set and
SiGML string reader, and using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.lang.String url,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given options set and
SiGML URL, using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.net.URL url)
Constructs a new animation loader for the given options set and
SiGML URL, and with no
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(JAOptions jopts,
java.net.URL url,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given options set and
SiGML URL, using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(java.lang.String av,
JAOptions jopts,
java.io.InputStream sins,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given avatar, options set
and SiGML input stream, and using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(java.lang.String av,
JAOptions jopts,
java.lang.String url)
Constructs a new animation loader for the given avatar, options set
and SiGML URL, and with no
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(java.lang.String av,
JAOptions jopts,
java.io.StringReader srdr,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given options set and
SiGML string reader, and using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(java.lang.String av,
JAOptions jopts,
java.lang.String url,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given avatar, options set
and SiGML URL, using the given
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(java.lang.String av,
JAOptions jopts,
java.net.URL url)
Constructs a new animation loader for the given avatar, options set
and SiGML URL, and with no
SiGMLAnimationLoadEventHandler . |
StreamedAnimationLoader(java.lang.String av,
JAOptions jopts,
java.net.URL url,
SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation loader for the given avatar, options set
and SiGML URL, using the given
SiGMLAnimationLoadEventHandler . |
Modifier and Type | Method and Description |
---|---|
SiGMLAnimation |
getAnimation()
Returns this loader's animation, which for a streamed loader is
the same as its animation build handler, and which may not be
complete at the time this invocation returns.
|
static void |
primeLoader()
Primes this loader class by creating an instance to scan a simple
SiGML string (without generating an animation for it).
|
void |
processSiGML()
Processes this loader's SiGML input by running its SiGML scanner,
possibly in a separate thread, as determined by the setting of
RUN_SCAN_IN_THREAD . |
public StreamedAnimationLoader(JAOptions jopts, java.net.URL url)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.net.URL url)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.net.URL url, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.net.URL url, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.lang.String url)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.lang.String url)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.lang.String url, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.lang.String url, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.io.StringReader srdr)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.io.StringReader srdr, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.io.StringReader srdr, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.io.InputStream sins)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(JAOptions jopts, java.io.InputStream sins, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public StreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.io.InputStream sins, SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationLoadEventHandler
.public void processSiGML()
RUN_SCAN_IN_THREAD
.processSiGML
in class StreamableAnimationLoader
public SiGMLAnimation getAnimation()
getAnimation
in class StreamableAnimationLoader
public static void primeLoader()