public class SkeletonPacketFactory extends HighLevelOggStreamPacket
SkeletonPacket
for a given
incoming OggPacket
, and creates itConstructor and Description |
---|
SkeletonPacketFactory() |
Modifier and Type | Method and Description |
---|---|
static SkeletonPacket |
create(OggPacket packet)
Creates the appropriate
SkeletonPacket
instance based on the type. |
protected static boolean |
isSkeletonSpecial(OggPacket packet) |
static boolean |
isSkeletonStream(OggPacket firstPacket)
Does this packet (the first in the stream) contain
the magic string indicating that it's a skeleton fis(head|bone)
one?
|
getData, getOggPacket, setData, write
public static boolean isSkeletonStream(OggPacket firstPacket)
protected static boolean isSkeletonSpecial(OggPacket packet)
public static SkeletonPacket create(OggPacket packet)
SkeletonPacket
instance based on the type.Copyright © 2015. All rights reserved.