Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
H
I
L
N
O
P
R
S
T
W
A
add(Packet)
- Method in class hu.netmind.ogg.
Page
Add a packet to this page.
available()
- Method in class hu.netmind.ogg.
OggInputStream
Method is proxied to given stream.
available()
- Method in class hu.netmind.util.
LSBDataInputStream
Proxy call to input stream.
C
checkCapturePattern()
- Method in class hu.netmind.ogg.
Page
Check capture pattern for ogg.
checkCrcChecksum()
- Method in class hu.netmind.ogg.
Page
Check the crc number in this page.
close()
- Method in class hu.netmind.ogg.
LogicalInputStream
Close this stream.
close()
- Method in class hu.netmind.ogg.
LogicalOutputStream
Close this logical stream.
close()
- Method in class hu.netmind.ogg.
OggInputStream
Close this stream.
close()
- Method in class hu.netmind.ogg.
OggOutputStream
Close this Ogg stream, write any data that is pending into the stream, then releas all resources.
close()
- Method in class hu.netmind.ogg.
PageFactory
Close this page factory.
close()
- Method in class hu.netmind.util.
LSBDataInputStream
Close physical input stream.
close()
- Method in class hu.netmind.util.
LSBDataOutputStream
Proxy call to output.
complete
- Variable in class hu.netmind.ogg.
Packet
computeCrcChecksum()
- Method in class hu.netmind.ogg.
Page
Compute crc number for this page.
crc(byte[], int, int)
- Method in class hu.netmind.util.
FastCrc
Generate crc code for given byte array.
crc(byte[])
- Method in class hu.netmind.util.
FastCrc
Generate crc code.
createLogicalOutputStream()
- Method in class hu.netmind.ogg.
OggOutputStream
Create a logical bitstream to be written to this Ogg stream.
A logical stream is a stream associated with the output of a single codec/source (eg.
D
data
- Variable in class hu.netmind.ogg.
Packet
DefaultPagingAlgorithm
- Class in
hu.netmind.ogg
This is a default implementation of a paging algorithm.
DefaultPagingAlgorithm()
- Constructor for class hu.netmind.ogg.
DefaultPagingAlgorithm
F
fastCrc
- Static variable in class hu.netmind.ogg.
Page
FastCrc
- Class in
hu.netmind.util
This class implements the fast crc algorithm (that is, it takes whole bytes at once).
FastCrc(int)
- Constructor for class hu.netmind.util.
FastCrc
Construct, and initialize the fast crc algorithm with the given generator polynomial.
flush()
- Method in class hu.netmind.ogg.
LogicalOutputStream
Flush the data waiting to be written.
flush(long)
- Method in class hu.netmind.ogg.
LogicalOutputStream
Flush the data waiting to be written.
flush()
- Method in class hu.netmind.ogg.
OggOutputStream
Proxy call to output.
flush()
- Method in class hu.netmind.util.
LSBDataOutputStream
Proxy call to output.
fromByteArray(byte[])
- Static method in class hu.netmind.ogg.
Page
Create page from a byte array.
fromByteStream(InputStream)
- Static method in class hu.netmind.ogg.
Page
Convert a serialized page from a byte stream to a page object.
G
getAutoPacketizer()
- Method in class hu.netmind.ogg.
LogicalOutputStream
getBitstreamSerialNumber()
- Method in class hu.netmind.ogg.
Page
getCapturePattern()
- Method in class hu.netmind.ogg.
Page
getCrcChecksum()
- Method in class hu.netmind.ogg.
Page
getData()
- Method in class hu.netmind.ogg.
Packet
getGranulePosition()
- Method in class hu.netmind.ogg.
LogicalInputStream
Get the current granule position of stream.
getGranulePosition()
- Method in class hu.netmind.ogg.
Page
getHeaderPacket()
- Method in class hu.netmind.ogg.
LogicalInputStream
Get the header packet of this logical stream.
getHeaderType()
- Method in class hu.netmind.ogg.
Page
getLength()
- Method in class hu.netmind.ogg.
Packet
getListener()
- Method in class hu.netmind.ogg.
OggInputStream
getLogicalInputStream()
- Method in class hu.netmind.ogg.
OggInputStream
Get the next logical stream.
getLogicalInputStreams()
- Method in class hu.netmind.ogg.
OggInputStream
Get all logical streams which are currently available without blocking.
getOffset()
- Method in class hu.netmind.ogg.
Packet
getOggOutputStream()
- Method in class hu.netmind.ogg.
LogicalOutputStream
Get the ogg stream this logical stream should write to.
getPacketCount()
- Method in class hu.netmind.ogg.
Page
getPackets()
- Method in class hu.netmind.ogg.
Page
Get all packets in this page.
getPageFactory()
- Method in class hu.netmind.ogg.
LogicalOutputStream
Get the page factory of this logical stream.
getPageSegments()
- Method in class hu.netmind.ogg.
Page
getPageSequenceNumber()
- Method in class hu.netmind.ogg.
Page
getPagingAlgorithm()
- Method in class hu.netmind.ogg.
PageFactory
getPosition()
- Method in class hu.netmind.ogg.
Packet
getSerial()
- Method in class hu.netmind.ogg.
PageFactory
Get the serial number associated with this page factory.
getVersion()
- Method in class hu.netmind.ogg.
Page
H
handleNewPacket(Page, Packet)
- Method in class hu.netmind.ogg.
DefaultPagingAlgorithm
Implementation start a new page every 4-8 kB, if it can, but does not break up a packet to multiple pages, if it fits.
handleNewPacket(Page, Packet)
- Method in interface hu.netmind.ogg.
PagingAlgorithm
When a new packet arrives, this method is called to decide, whether to append packet to the current page or not.
handlePageReady(Page)
- Method in class hu.netmind.ogg.
DefaultPagingAlgorithm
Implementation does not change anything.
handleWritePage(Page)
- Method in class hu.netmind.ogg.
DefaultPagingAlgorithm
Return always true.
handleWritePage(Page)
- Method in interface hu.netmind.ogg.
PagingAlgorithm
Called when a page is about to be written.
hu.netmind.ogg
- package hu.netmind.ogg
hu.netmind.util
- package hu.netmind.util
I
InvalidStateException
- Exception in
hu.netmind.ogg
This exception is thrown, if the Ogg stream was handled improperly.
InvalidStateException(String)
- Constructor for exception hu.netmind.ogg.
InvalidStateException
Construct the exception with a message.
isBos()
- Method in class hu.netmind.ogg.
Page
Return whether this a begin of stream page.
isClean()
- Method in class hu.netmind.ogg.
OggOutputStream
Return, whether the call to
createLogicalOutputStream()
will success.
isComplete()
- Method in class hu.netmind.ogg.
Packet
isContinued()
- Method in class hu.netmind.ogg.
Page
Return whether this page's data belong to the previous packet (that packet is continued in this page).
isEmpty()
- Method in class hu.netmind.ogg.
LogicalOutputStream
Returns whether the internal buffer has some bytes or not.
isEos()
- Method in class hu.netmind.ogg.
Page
Return whether this an end of stream page.
isFull()
- Method in class hu.netmind.ogg.
Page
Returns whether this page is full, or not.
Note:
Page is also considered full, if it is a bos page, and one packet is inserted.
isLogicalStreamAvailable()
- Method in class hu.netmind.ogg.
OggInputStream
Ask whether the next call to
getLogicalInputStream()
will block or not.
L
length
- Variable in class hu.netmind.ogg.
Packet
LogicalInputStream
- Class in
hu.netmind.ogg
A logical input stream is a single encoded media stream multiplexed into an ogg stream possibly with other logical streams.
LogicalOutputStream
- Class in
hu.netmind.ogg
This is a logical output stream to a given Ogg stream.
LogicalStreamListener
- Interface in
hu.netmind.ogg
This interface receives notification of new streams arriving into the ogg input stream.
LSBDataInputStream
- Class in
hu.netmind.util
This class reads data in LSB ordering.
LSBDataInputStream(InputStream)
- Constructor for class hu.netmind.util.
LSBDataInputStream
Construct with a psysical input stream.
LSBDataOutputStream
- Class in
hu.netmind.util
This class enables to write multi-byte data in LSB (least significant byte first) order.
LSBDataOutputStream(OutputStream)
- Constructor for class hu.netmind.util.
LSBDataOutputStream
Construct with a stream given.
N
notifyNewStream(LogicalInputStream)
- Method in interface hu.netmind.ogg.
LogicalStreamListener
This method gets called with the received logical stream.
O
offset
- Variable in class hu.netmind.ogg.
Packet
OGG_CAPTURE_PATTERN
- Static variable in class hu.netmind.ogg.
Page
OggException
- Exception in
hu.netmind.ogg
This is the root exception for all Ogg bitstream related errors.
OggException(String)
- Constructor for exception hu.netmind.ogg.
OggException
Construct the exception with a message.
OggInputStream
- Class in
hu.netmind.ogg
This is the starting point for decoding an ogg stream.
OggInputStream(InputStream)
- Constructor for class hu.netmind.ogg.
OggInputStream
Construct the ogg stream with an input stream.
OggOutputStream
- Class in
hu.netmind.ogg
This class is the starting point for creating an ogg bitstream.
OggOutputStream(OutputStream)
- Constructor for class hu.netmind.ogg.
OggOutputStream
The ogg bitstream will be written in the given output stream.
P
Packet
- Class in
hu.netmind.ogg
This class encapsulates all data for a given packet.
Packet(byte[], long)
- Constructor for class hu.netmind.ogg.
Packet
Construct with all data given.
Packet(byte[], long, boolean)
- Constructor for class hu.netmind.ogg.
Packet
Construct with all data given.
Packet(byte[], int, int, long, boolean)
- Constructor for class hu.netmind.ogg.
Packet
Construct with all data given.
Page
- Class in
hu.netmind.ogg
This class represents a page in the ogg format, and gives low-level manipulator access to all fields.
PageFactory
- Class in
hu.netmind.ogg
This class creates pages for the physical ogg stream.
PageFactory(OggOutputStream)
- Constructor for class hu.netmind.ogg.
PageFactory
Initialize the page factory with owner ogg stream.
PagingAlgorithm
- Interface in
hu.netmind.ogg
This interface describes a paging algorithm, which can be used to produce pages for the ogg stream.
position
- Variable in class hu.netmind.ogg.
Packet
R
read()
- Method in class hu.netmind.ogg.
LogicalInputStream
Read one byte from the logical stream.
Note however, that by reading byte-wise, you may cross packet boundaries originally inserted into the stream.
read(byte[])
- Method in class hu.netmind.ogg.
LogicalInputStream
Read some bytes from the logical stream.
Note however, that by reading byte-wise, you may cross packet boundaries originally inserted into the stream.
read(byte[], int, int)
- Method in class hu.netmind.ogg.
LogicalInputStream
Read some bytes from the logical stream.
Note however, that by reading byte-wise, you may cross packet boundaries originally inserted into the stream.
read()
- Method in class hu.netmind.ogg.
OggInputStream
Method is proxied to given stream.
read(byte[])
- Method in class hu.netmind.ogg.
OggInputStream
Method is proxied to given stream.
read(byte[], int, int)
- Method in class hu.netmind.ogg.
OggInputStream
Method is proxied to given stream.
read()
- Method in class hu.netmind.util.
LSBDataInputStream
Proxy call to input stream.
readByte()
- Method in class hu.netmind.util.
LSBDataInputStream
Read a single byte.
readFully(byte[], int, int)
- Method in class hu.netmind.util.
LSBDataInputStream
Read a buffer fully.
readFully(byte[])
- Method in class hu.netmind.util.
LSBDataInputStream
Read a buffer fully.
readInt()
- Method in class hu.netmind.util.
LSBDataInputStream
Read an integer from stream.
readLong()
- Method in class hu.netmind.util.
LSBDataInputStream
Read a long from stream.
readPacket()
- Method in class hu.netmind.ogg.
LogicalInputStream
Read a packet from the logical stream.
Note:
If the packet was already read via the byte-wise read methods, this method returns the rest of the packet.
S
setAutoPacketizer(boolean)
- Method in class hu.netmind.ogg.
LogicalOutputStream
Set the autopacketizer on or off.
setBitstreamSerialNumber(int)
- Method in class hu.netmind.ogg.
Page
setBos()
- Method in class hu.netmind.ogg.
Page
Set the bos flag.
setCapturePattern(byte[])
- Method in class hu.netmind.ogg.
Page
setContinued()
- Method in class hu.netmind.ogg.
Page
Set the continued flag.
setCrcChecksum(int)
- Method in class hu.netmind.ogg.
Page
setEos()
- Method in class hu.netmind.ogg.
Page
Set the eos flag.
setGranulePosition(long)
- Method in class hu.netmind.ogg.
Page
setHeaderType(byte)
- Method in class hu.netmind.ogg.
Page
setListener(LogicalStreamListener)
- Method in class hu.netmind.ogg.
OggInputStream
setPageSequenceNumber(int)
- Method in class hu.netmind.ogg.
Page
setPagingAlgorithm(PagingAlgorithm)
- Method in class hu.netmind.ogg.
PageFactory
setVersion(byte)
- Method in class hu.netmind.ogg.
Page
size()
- Method in class hu.netmind.ogg.
Page
The size of data residing in this page.
T
toByteArray()
- Method in class hu.netmind.ogg.
Page
Convert this page into a byte array.
toString()
- Method in class hu.netmind.ogg.
Page
Write human readable representation.
W
waitForClose()
- Method in class hu.netmind.ogg.
OggInputStream
This method blocks until the end of stream is reached.
waitForClose()
- Method in class hu.netmind.ogg.
OggOutputStream
Wait for all logical streams to finish.
write(byte[], int, int)
- Method in class hu.netmind.ogg.
LogicalOutputStream
Write to the internal buffer.
write(byte[])
- Method in class hu.netmind.ogg.
LogicalOutputStream
Write to the internal buffer.
write(int)
- Method in class hu.netmind.ogg.
LogicalOutputStream
Write to the internal buffer.
write(byte[], int, int)
- Method in class hu.netmind.ogg.
OggOutputStream
Proxy call to output, this method should not be called, as it writes directly into the ogg stream.
write(byte[])
- Method in class hu.netmind.ogg.
OggOutputStream
Proxy call to output, this method should not be called, as it writes directly into the ogg stream.
write(int)
- Method in class hu.netmind.ogg.
OggOutputStream
Proxy call to output, this method should not be called, as it writes directly into the ogg stream.
write(int)
- Method in class hu.netmind.util.
LSBDataOutputStream
Proxy call to output.
writeByte(int)
- Method in class hu.netmind.util.
LSBDataOutputStream
Write a single byte to output.
writeInt(int)
- Method in class hu.netmind.util.
LSBDataOutputStream
Write an integer to output LSB.
writeLong(long)
- Method in class hu.netmind.util.
LSBDataOutputStream
Write a long to output LSB.
writePacket(byte[])
- Method in class hu.netmind.ogg.
LogicalOutputStream
This method is equivalent to
writePacket(b,-1)
.
writePacket(byte[], long)
- Method in class hu.netmind.ogg.
LogicalOutputStream
This method causes a packet to be written to the ogg stream.
writePacket(Packet)
- Method in class hu.netmind.ogg.
LogicalOutputStream
This method causes a packet to be written to the ogg stream.
writePacket(Packet)
- Method in class hu.netmind.ogg.
PageFactory
This method is called by the logical stream.
A
C
D
F
G
H
I
L
N
O
P
R
S
T
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes