A B C D E F G H I K L M N O P R S T U V W _ 

A

addComment(String, String) - Method in class org.gagravarr.vorbis.VorbisComments
Adds a comment for a given tag
addPacket(OggPacket, int) - Method in class org.gagravarr.ogg.OggPage
Adds as much of the packet's data as we can do.
APPLICATION - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 

B

bufferPacket(OggPacket) - Method in class org.gagravarr.ogg.OggPacketWriter
Buffers the given packet up ready for writing to the stream, but doesn't write it to disk yet.
bufferPacket(OggPacket, boolean) - Method in class org.gagravarr.ogg.OggPacketWriter
Buffers the given packet up ready for writing to the file, and then writes it to the stream if indicated.

C

close() - Method in class org.gagravarr.flac.FlacFile
In Reading mode, will close the underlying ogg/flac file and free its resources.
close() - Method in class org.gagravarr.flac.FlacNativeFile
In Reading mode, will close the underlying ogg/flac file and free its resources.
close() - Method in class org.gagravarr.flac.FlacOggFile
In Reading mode, will close the underlying ogg file and free its resources.
close() - Method in class org.gagravarr.ogg.OggFile
Closes our streams.
close() - Method in class org.gagravarr.ogg.OggPacketWriter
Writes all pending packets to the stream, with the last one containing the End Of Stream Flag, and then closes down.
close() - Method in class org.gagravarr.vorbis.VorbisFile
In Reading mode, will close the underlying ogg file and free its resources.
CRC_POLYNOMIAL - Static variable in class org.gagravarr.ogg.CRCUtils
 
CRCUtils - Class in org.gagravarr.ogg
 
CRCUtils() - Constructor for class org.gagravarr.ogg.CRCUtils
 
create(InputStream) - Static method in class org.gagravarr.flac.FlacMetadataBlock
 
create(OggPacket) - Static method in class org.gagravarr.vorbis.VorbisPacket
Creates the appropriate VorbisPacket instance based on the type.
CUESHEET - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 

D

detect(InputStream, Metadata) - Method in class org.gagravarr.tika.OggDetector
 

E

editTags(boolean, String[]) - Static method in class org.gagravarr.vorbis.tools.VorbisCommentTool
 
extractChannelInfo(Metadata, int) - Static method in class org.gagravarr.tika.VorbisParser
 
extractComments(Metadata, XHTMLContentHandler, VorbisComments) - Static method in class org.gagravarr.tika.VorbisParser
 
extractInfo(Metadata, FlacInfo) - Method in class org.gagravarr.tika.FlacParser
 
extractInfo(Metadata, VorbisInfo) - Method in class org.gagravarr.tika.VorbisParser
 

F

FLAC - Static variable in class org.gagravarr.tika.OggDetector
 
FlacAudioFrame - Class in org.gagravarr.flac
Raw, compressed audio data.
FlacAudioFrame(byte[]) - Constructor for class org.gagravarr.flac.FlacAudioFrame
 
FlacFile - Class in org.gagravarr.flac
This wrapper lets you work with FLAC files, whether they're Ogg or Native framed.
FlacFile() - Constructor for class org.gagravarr.flac.FlacFile
 
FlacFirstOggPacket - Class in org.gagravarr.flac
The first Flac packet stored in an Ogg stream is special.
FlacFirstOggPacket() - Constructor for class org.gagravarr.flac.FlacFirstOggPacket
 
FlacFirstOggPacket(FlacInfo) - Constructor for class org.gagravarr.flac.FlacFirstOggPacket
 
FlacFirstOggPacket(OggPacket) - Constructor for class org.gagravarr.flac.FlacFirstOggPacket
 
FlacFrame - Class in org.gagravarr.flac
A Flac frame may be in a native bitstream, or wrapped in an OggPacket.
FlacFrame() - Constructor for class org.gagravarr.flac.FlacFrame
 
FlacInfo - Class in org.gagravarr.flac
The Stream Info metadata block holds useful information on the audio data of the file
FlacInfo() - Constructor for class org.gagravarr.flac.FlacInfo
Creates a new, empty info
FlacInfo(byte[], int) - Constructor for class org.gagravarr.flac.FlacInfo
Reads the Info from the specified data
FlacMetadataBlock - Class in org.gagravarr.flac
This comes before the audio data.
FlacMetadataBlock(byte) - Constructor for class org.gagravarr.flac.FlacMetadataBlock
 
FlacNativeFile - Class in org.gagravarr.flac
This lets you work with FLAC files that are contained in a native FLAC Stream
FlacNativeFile(File) - Constructor for class org.gagravarr.flac.FlacNativeFile
Opens the given file for reading
FlacNativeFile(InputStream) - Constructor for class org.gagravarr.flac.FlacNativeFile
Opens the given FLAC file
FlacOggFile - Class in org.gagravarr.flac
This lets you work with FLAC files that are contained in an Ogg Stream
FlacOggFile(File) - Constructor for class org.gagravarr.flac.FlacOggFile
Opens the given file for reading
FlacOggFile(OggFile) - Constructor for class org.gagravarr.flac.FlacOggFile
Opens the given file for reading
FlacOggFile(OggPacketReader) - Constructor for class org.gagravarr.flac.FlacOggFile
Loads a Vorbis File from the given packet reader.
FlacOggFile(OutputStream) - Constructor for class org.gagravarr.flac.FlacOggFile
Opens for writing.
FlacOggFile(OutputStream, FlacInfo, FlacTags) - Constructor for class org.gagravarr.flac.FlacOggFile
Opens for writing, based on the settings from a pre-read file.
FlacOggFile(OutputStream, int, FlacInfo, FlacTags) - Constructor for class org.gagravarr.flac.FlacOggFile
Opens for writing, based on the settings from a pre-read file, with a specific Steam ID (SID).
FlacParser - Class in org.gagravarr.tika
TODO Finish FLAC support then implement
FlacParser() - Constructor for class org.gagravarr.tika.FlacParser
 
FlacTags - Class in org.gagravarr.flac
This is a VorbisComments with a Flac metadata block header, rather than the usual vorbis one.
FlacTags(OggPacket) - Constructor for class org.gagravarr.flac.FlacTags
 
FlacTags() - Constructor for class org.gagravarr.flac.FlacTags
 
FlacTags.FlacTagsAsMetadata - Class in org.gagravarr.flac
 
FlacTags.FlacTagsAsMetadata(byte[]) - Constructor for class org.gagravarr.flac.FlacTags.FlacTagsAsMetadata
 
FlacUnhandledMetadataBlock - Class in org.gagravarr.flac
Any Flac Metadata Block we don't explicitly handle
FlacUnhandledMetadataBlock(byte, byte[]) - Constructor for class org.gagravarr.flac.FlacUnhandledMetadataBlock
 
flush() - Method in class org.gagravarr.ogg.OggPacketWriter
Writes all pending packets to the stream, splitting across pages as needed.
fromInt(int) - Static method in class org.gagravarr.ogg.IOUtils
 

G

getAlbum() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the (first) Album, or null if no Album tags present.
getAllComments() - Method in class org.gagravarr.vorbis.VorbisComments
Returns all the comments
getArtist() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the (first) Artist, or null if no Artist tags present.
getBitrateLower() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getBitrateNominal() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getBitrateUpper() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getBitsPerSample() - Method in class org.gagravarr.flac.FlacInfo
 
getBlocksize0() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getBlocksize1() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getChannels() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getChecksum() - Method in class org.gagravarr.ogg.OggPage
 
getComment() - Method in class org.gagravarr.vorbis.VorbisFile
 
getComments(String) - Method in class org.gagravarr.vorbis.VorbisComments
Returns all comments for a given tag, in file order.
getCRC(byte[]) - Static method in class org.gagravarr.ogg.CRCUtils
 
getCRC(byte[], int) - Static method in class org.gagravarr.ogg.CRCUtils
 
getCurrentGranulePosition() - Method in class org.gagravarr.ogg.OggPacketWriter
 
getData() - Method in class org.gagravarr.flac.FlacAudioFrame
 
getData() - Method in class org.gagravarr.flac.FlacFrame
 
getData() - Method in class org.gagravarr.flac.FlacMetadataBlock
 
getData() - Method in class org.gagravarr.flac.FlacTags.FlacTagsAsMetadata
 
getData() - Method in class org.gagravarr.ogg.HighLevelOggStreamPacket
 
getData() - Method in class org.gagravarr.ogg.OggPacketData
Returns the data that makes up the packet.
getData() - Method in class org.gagravarr.ogg.OggPage
 
getDataSize() - Method in class org.gagravarr.ogg.OggPage
How big is the page, excluding headers?
getDate() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the (first) Date, or null if no Date tags present.
getFirstPacket() - Method in class org.gagravarr.flac.FlacOggFile
Returns the first Ogg Packet, which has some metadata in it
getGenre() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the (first) Genre, or null if no Genre tags present.
getGranulePosition() - Method in class org.gagravarr.ogg.OggPacket
Returns the granule position of the page that this packet belongs to.
getGranulePosition() - Method in class org.gagravarr.ogg.OggPage
 
getGranulePosition() - Method in class org.gagravarr.vorbis.VorbisAudioData
Returns the granule position, or -1 if this wasn't read from a file
getHeader() - Method in class org.gagravarr.ogg.OggPage
Gets the header, but with a blank CRC field
getHeaderSize() - Method in class org.gagravarr.flac.FlacTags
Type plus three byte length
getHeaderSize() - Method in class org.gagravarr.vorbis.VorbisAudioData
 
getHeaderSize() - Method in class org.gagravarr.vorbis.VorbisComments
 
getHeaderSize() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getHeaderSize() - Method in class org.gagravarr.vorbis.VorbisPacket
How big is the header on this packet? For Metadata packets it's normally 7 bytes, otherwise for audio packets there is no header.
getHeaderSize() - Method in class org.gagravarr.vorbis.VorbisSetup
 
getInfo() - Method in class org.gagravarr.flac.FlacFile
 
getInfo() - Method in class org.gagravarr.flac.FlacFirstOggPacket
 
getInfo() - Method in class org.gagravarr.vorbis.VorbisFile
 
getInt(int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt(int, int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt(int, int, int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt(int, int, int, int, int, int, int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt2(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt2(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt2BE(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt2BE(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt3(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt3(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt3BE(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt3BE(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt4(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt4(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt4BE(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt4BE(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt8(byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
getInt8(byte[], int) - Static method in class org.gagravarr.ogg.IOUtils
 
getIntBE(int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getIntBE(int, int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getIntBE(int, int, int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getMajorVersion() - Method in class org.gagravarr.flac.FlacFirstOggPacket
Returns the Major Version number
getMaximumBlockSize() - Method in class org.gagravarr.flac.FlacInfo
The maximum block size (in samples) used in the stream.
getMaximumFrameSize() - Method in class org.gagravarr.flac.FlacInfo
 
getMinimumBlockSize() - Method in class org.gagravarr.flac.FlacInfo
The minimum block size (in samples) used in the stream.
getMinimumFrameSize() - Method in class org.gagravarr.flac.FlacInfo
 
getMinorVersion() - Method in class org.gagravarr.flac.FlacFirstOggPacket
Returns the Minor Version number.
getNextAudioPacket() - Method in class org.gagravarr.flac.FlacFile
 
getNextAudioPacket() - Method in class org.gagravarr.flac.FlacNativeFile
 
getNextAudioPacket() - Method in class org.gagravarr.flac.FlacOggFile
 
getNextAudioPacket() - Method in class org.gagravarr.vorbis.VorbisFile
 
getNextPacket() - Method in class org.gagravarr.ogg.OggPacketReader
Returns the next packet in the file, or null if no more packets remain.
getNextPacket() - Method in class org.gagravarr.vorbis.tools.VorbisInfoTool.InfoPacketReader
 
getNextPacketWithSid(int) - Method in class org.gagravarr.ogg.OggPacketReader
Returns the next packet with the given SID (Stream ID), or null if no more packets remain.
getNextPacketWithSid(int) - Method in class org.gagravarr.vorbis.tools.VorbisInfoTool.InfoPacketReader
 
getNumberOfCodebooks() - Method in class org.gagravarr.vorbis.VorbisSetup
 
getNumberOfHeaderBlocks() - Method in class org.gagravarr.flac.FlacFirstOggPacket
Gets the number of header blocks, excluding this one, or zero if not known
getNumberOfSamples() - Method in class org.gagravarr.flac.FlacInfo
 
getNumChannels() - Method in class org.gagravarr.flac.FlacInfo
 
getNumLVs() - Method in class org.gagravarr.ogg.OggPage
For unit testing only!
getOggFile() - Method in class org.gagravarr.flac.FlacOggFile
Returns the underlying Ogg File instance
getOggFile() - Method in class org.gagravarr.vorbis.VorbisFile
Returns the underlying Ogg File instance
getOggPacket() - Method in class org.gagravarr.ogg.HighLevelOggStreamPacket
 
getPacketIterator() - Method in class org.gagravarr.ogg.OggPage
 
getPacketIterator(OggPacketData) - Method in class org.gagravarr.ogg.OggPage
 
getPacketReader() - Method in class org.gagravarr.ogg.OggFile
Returns a reader that will allow you to read packets from the file, across all Logical Bit Streams, in the order that they occur.
getPacketWriter() - Method in class org.gagravarr.ogg.OggFile
Creates a new Logical Bit Stream in the file, and returns a Writer for putting data into it.
getPacketWriter(int) - Method in class org.gagravarr.ogg.OggFile
Creates a new Logical Bit Stream in the file, and returns a Writer for putting data into it.
getPageSize() - Method in class org.gagravarr.ogg.OggPage
How big is the page, including headers?
getRate() - Method in class org.gagravarr.vorbis.VorbisInfo
 
getSampleRate() - Method in class org.gagravarr.flac.FlacInfo
 
getSequenceNumber() - Method in class org.gagravarr.ogg.OggPacket
Returns the sequence number within the stream of the page that this packet belongs to.
getSequenceNumber() - Method in class org.gagravarr.ogg.OggPage
 
getSetup() - Method in class org.gagravarr.vorbis.VorbisFile
 
getSid() - Method in class org.gagravarr.flac.FlacOggFile
Returns the Ogg Stream ID
getSid() - Method in class org.gagravarr.ogg.OggPacket
Returns the Stream ID (Sid) that this packet belongs to.
getSid() - Method in class org.gagravarr.ogg.OggPacketWriter
 
getSid() - Method in class org.gagravarr.ogg.OggPage
 
getSid() - Method in class org.gagravarr.vorbis.VorbisFile
Returns the Ogg Stream ID
getSignature() - Method in class org.gagravarr.flac.FlacInfo
 
getSingleComment(String) - Method in class org.gagravarr.vorbis.VorbisComments
 
getSizePendingFlush() - Method in class org.gagravarr.ogg.OggPacketWriter
Returns the number of bytes (excluding headers) currently waiting to be written to disk.
getSupportedTypes(ParseContext) - Method in class org.gagravarr.tika.FlacParser
 
getSupportedTypes(ParseContext) - Method in class org.gagravarr.tika.OggParser
 
getSupportedTypes(ParseContext) - Method in class org.gagravarr.tika.VorbisParser
 
getTags() - Method in class org.gagravarr.flac.FlacFile
 
getTags() - Method in class org.gagravarr.flac.FlacTags.FlacTagsAsMetadata
 
getTitle() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the (first) Title, or null if no Title tags present.
getTrackNumber() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the (first) track number as a literal string, eg "4" or "09", or null if no track number tags present;
getTrackNumberNumeric() - Method in class org.gagravarr.vorbis.VorbisComments
Returns the track number, as converted into an integer, or -1 if not available / not numeric
getType() - Method in class org.gagravarr.flac.FlacMetadataBlock
 
getUnusedSerialNumber() - Method in class org.gagravarr.ogg.OggFile
Returns a random, but previously un-used serial number for use by a new stream
getUTF8(byte[], int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
getVendor() - Method in class org.gagravarr.vorbis.VorbisComments
 
getVersion() - Method in class org.gagravarr.vorbis.VorbisInfo
 

H

hasContinuation() - Method in class org.gagravarr.ogg.OggPage
Is there a subsequent page containing the remainder of the packets?
hasNext() - Method in class org.gagravarr.ogg.OggPage.OggPacketIterator
 
hasSpaceFor(int) - Method in class org.gagravarr.ogg.OggPage
Does this Page have space for the given number of bytes?
HEADER_LENGTH_AUDIO - Static variable in class org.gagravarr.vorbis.VorbisPacket
 
HEADER_LENGTH_METADATA - Static variable in class org.gagravarr.vorbis.VorbisPacket
 
HighLevelOggStreamPacket - Class in org.gagravarr.ogg
A high level stream packet sat atop of an OggPacket.
HighLevelOggStreamPacket(OggPacket) - Constructor for class org.gagravarr.ogg.HighLevelOggStreamPacket
 
HighLevelOggStreamPacket() - Constructor for class org.gagravarr.ogg.HighLevelOggStreamPacket
 

I

info - Variable in class org.gagravarr.flac.FlacFile
 
IOUtils - Class in org.gagravarr.ogg
Utilities for working with IO streams, such as reading and writing.
IOUtils() - Constructor for class org.gagravarr.ogg.IOUtils
 
isBeginningOfStream() - Method in class org.gagravarr.ogg.OggPacket
Is this the first packet in the stream? If so, the data should hold the magic information required to identify which decoder will be needed.
isChecksumValid() - Method in class org.gagravarr.ogg.OggPage
Is the checksum for the page valid?
isContinuation() - Method in class org.gagravarr.ogg.OggPage
Is this carrying on the packets from a previous page?
isEndOfStream() - Method in class org.gagravarr.ogg.OggPacket
Is this the last packet in the stream?
isFlacStream(OggPacket) - Static method in class org.gagravarr.flac.FlacFirstOggPacket
Does this packet (the first in the stream) contain the magic string indicating that it's a FLAC one?
isLastMetadataBlock() - Method in class org.gagravarr.flac.FlacMetadataBlock
 
isVorbisStream(OggPacket) - Static method in class org.gagravarr.vorbis.VorbisPacket
Does this packet (the first in the stream) contain the magic string indicating that it's a vorbis one?

K

KEY_ALBUM - Static variable in class org.gagravarr.vorbis.VorbisComments
 
KEY_ARTIST - Static variable in class org.gagravarr.vorbis.VorbisComments
 
KEY_DATE - Static variable in class org.gagravarr.vorbis.VorbisComments
 
KEY_GENRE - Static variable in class org.gagravarr.vorbis.VorbisComments
 
KEY_TITLE - Static variable in class org.gagravarr.vorbis.VorbisComments
 
KEY_TRACKNUMBER - Static variable in class org.gagravarr.vorbis.VorbisComments
 

L

listTags(String) - Static method in class org.gagravarr.vorbis.tools.VorbisCommentTool
 
listTags(VorbisFile) - Static method in class org.gagravarr.vorbis.tools.VorbisInfoTool
 

M

main(String[]) - Static method in class org.gagravarr.ogg.tools.OggInfoTool
 
main(String[]) - Static method in class org.gagravarr.vorbis.tools.VorbisCommentTool
 
main(String[]) - Static method in class org.gagravarr.vorbis.tools.VorbisInfoTool
 

N

next() - Method in class org.gagravarr.ogg.OggPage.OggPacketIterator
 
normaliseTag(String) - Static method in class org.gagravarr.vorbis.VorbisComments
The tag name is case-insensitive and may consist of ASCII 0x20 through 0x7D, 0x3D (’=’) excluded.

O

OGG_AUDIO - Static variable in class org.gagravarr.tika.OggDetector
 
OGG_GENERAL - Static variable in class org.gagravarr.tika.OggDetector
 
OGG_VIDEO - Static variable in class org.gagravarr.tika.OggDetector
 
OGG_VORBIS - Static variable in class org.gagravarr.tika.OggDetector
 
OggDetector - Class in org.gagravarr.tika
Detector for identifying specific file types stored within an Ogg container.
OggDetector() - Constructor for class org.gagravarr.tika.OggDetector
 
OggFile - Class in org.gagravarr.ogg
This class takes care of reading and writing files using the Ogg container format.
OggFile(OutputStream) - Constructor for class org.gagravarr.ogg.OggFile
Opens a file for writing.
OggFile(InputStream) - Constructor for class org.gagravarr.ogg.OggFile
Opens a file for reading in blocking (non event) mode.
OggFile(InputStream, OggStreamListener) - Constructor for class org.gagravarr.ogg.OggFile
Opens a file for reading in non-blocking (event) mode.
OggInfoTool - Class in org.gagravarr.ogg.tools
Prints out information on the Steams within an Ogg File
OggInfoTool(File) - Constructor for class org.gagravarr.ogg.tools.OggInfoTool
 
OggPacket - Class in org.gagravarr.ogg
Represents a logical group of data.
OggPacket(OggPage, byte[], boolean, boolean) - Constructor for class org.gagravarr.ogg.OggPacket
Creates a new Ogg Packet based on data read from within an Ogg Page.
OggPacket(byte[]) - Constructor for class org.gagravarr.ogg.OggPacket
Creates a new Ogg Packet filled with data to be later written.
OggPacketData - Class in org.gagravarr.ogg
The data part of an OggPacket.
OggPacketData(byte[]) - Constructor for class org.gagravarr.ogg.OggPacketData
 
OggPacketReader - Class in org.gagravarr.ogg
 
OggPacketReader(InputStream) - Constructor for class org.gagravarr.ogg.OggPacketReader
 
OggPacketWriter - Class in org.gagravarr.ogg
 
OggPacketWriter(OggFile, int) - Constructor for class org.gagravarr.ogg.OggPacketWriter
 
OggPage - Class in org.gagravarr.ogg
 
OggPage(int, int) - Constructor for class org.gagravarr.ogg.OggPage
 
OggPage(InputStream) - Constructor for class org.gagravarr.ogg.OggPage
InputStream should be positioned *just after* the OggS capture pattern.
OggPage.OggPacketIterator - Class in org.gagravarr.ogg
Returns a full OggPacket if it can, otherwise just the OggPacketData if the rest of the packet is in another OggPage
OggParser - Class in org.gagravarr.tika
General parser for non audio OGG files.
OggParser() - Constructor for class org.gagravarr.tika.OggParser
 
OggStreamListener - Interface in org.gagravarr.ogg
Implement this if doing Event based processing to know when new streams are found.
OggStreamReader - Interface in org.gagravarr.ogg
Implement this interface to be given the data from the stream of an Ogg file that you indicated interest in using a OggStreamListener
open(File) - Static method in class org.gagravarr.flac.FlacFile
Opens the given file for reading
open(InputStream) - Static method in class org.gagravarr.flac.FlacFile
Opens the given file for reading.
open(OggFile) - Static method in class org.gagravarr.flac.FlacFile
Opens the given file for reading
org.gagravarr.flac - package org.gagravarr.flac
 
org.gagravarr.ogg - package org.gagravarr.ogg
 
org.gagravarr.ogg.tools - package org.gagravarr.ogg.tools
 
org.gagravarr.tika - package org.gagravarr.tika
 
org.gagravarr.vorbis - package org.gagravarr.vorbis
 
org.gagravarr.vorbis.tools - package org.gagravarr.vorbis.tools
 
otherMetadata - Variable in class org.gagravarr.flac.FlacFile
 

P

PADDING - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 
parse(InputStream, ContentHandler, Metadata, ParseContext) - Method in class org.gagravarr.tika.FlacParser
 
parse(InputStream, ContentHandler, Metadata, ParseContext) - Method in class org.gagravarr.tika.OggParser
 
parse(InputStream, ContentHandler, Metadata, ParseContext) - Method in class org.gagravarr.tika.VorbisParser
 
PICTURE - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 
populateMetadataHeader(byte[], int, int) - Method in class org.gagravarr.flac.FlacTags
Type plus three byte length
populateMetadataHeader(byte[], int, int) - Method in class org.gagravarr.vorbis.VorbisPacket
Popupulates the metadata packet header, which is "#vorbis" where # is the type.
printHelp() - Static method in class org.gagravarr.vorbis.tools.VorbisCommentTool
 
printHelp() - Static method in class org.gagravarr.vorbis.tools.VorbisInfoTool
 
printStreamInfo() - Method in class org.gagravarr.ogg.tools.OggInfoTool
 
processNewStream(int, byte[]) - Method in interface org.gagravarr.ogg.OggStreamListener
Called every time a new Stream is encountered.
processPacket(OggPacket) - Method in interface org.gagravarr.ogg.OggStreamReader
 
processStreamEnd(int) - Method in interface org.gagravarr.ogg.OggStreamListener
Called after the last packet in Stream has been processed, in case you want to do any tidying up.
putInt2(byte[], int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
putInt2BE(byte[], int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
putInt3(byte[], int, long) - Static method in class org.gagravarr.ogg.IOUtils
 
putInt3BE(byte[], int, long) - Static method in class org.gagravarr.ogg.IOUtils
 
putInt4(byte[], int, long) - Static method in class org.gagravarr.ogg.IOUtils
 
putInt4BE(byte[], int, long) - Static method in class org.gagravarr.ogg.IOUtils
 
putInt8(byte[], int, long) - Static method in class org.gagravarr.ogg.IOUtils
 
putUTF8(byte[], int, String) - Static method in class org.gagravarr.ogg.IOUtils
 

R

readFully(InputStream, byte[]) - Static method in class org.gagravarr.ogg.IOUtils
 
readFully(InputStream, byte[], int, int) - Static method in class org.gagravarr.ogg.IOUtils
 
remove() - Method in class org.gagravarr.ogg.OggPage.OggPacketIterator
 
removeAllComments() - Method in class org.gagravarr.vorbis.VorbisComments
Removes all comments across all tags
removeComments(String) - Method in class org.gagravarr.vorbis.VorbisComments
Removes all comments for a given tag.

S

SEEKTABLE - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 
setBitrateLower(int) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setBitrateNominal(int) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setBitrateUpper(int) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setBitsPerSample(int) - Method in class org.gagravarr.flac.FlacInfo
 
setBlocksize0(int) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setBlocksize1(int) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setChannels(int) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setComments(String, List<String>) - Method in class org.gagravarr.vorbis.VorbisComments
Removes any existing comments for a given tag, and replaces them with the supplied list
setData(byte[]) - Method in class org.gagravarr.ogg.HighLevelOggStreamPacket
 
setGranulePosition(long) - Method in class org.gagravarr.ogg.OggPacketWriter
Sets the current granule position.
setGranulePosition(long) - Method in class org.gagravarr.ogg.OggPage
 
setGranulePosition(long) - Method in class org.gagravarr.vorbis.VorbisAudioData
 
setIsBOS() - Method in class org.gagravarr.ogg.OggPacket
 
setIsContinuation() - Method in class org.gagravarr.ogg.OggPage
 
setIsEOS() - Method in class org.gagravarr.ogg.OggPacket
 
setIsEOS() - Method in class org.gagravarr.ogg.OggPage
This should only ever be called by OggPacketWriter.close() !
setMajorVersion(int) - Method in class org.gagravarr.flac.FlacFirstOggPacket
 
setMaximumBlockSize(int) - Method in class org.gagravarr.flac.FlacInfo
 
setMaximumFrameSize(int) - Method in class org.gagravarr.flac.FlacInfo
 
setMinimumBlockSize(int) - Method in class org.gagravarr.flac.FlacInfo
 
setMinimumFrameSize(int) - Method in class org.gagravarr.flac.FlacInfo
 
setMinorVersion(int) - Method in class org.gagravarr.flac.FlacFirstOggPacket
 
setNumberOfHeaderBlocks(int) - Method in class org.gagravarr.flac.FlacFirstOggPacket
 
setNumberOfSamples(long) - Method in class org.gagravarr.flac.FlacInfo
 
setNumChannels(int) - Method in class org.gagravarr.flac.FlacInfo
 
setParent(OggPage) - Method in class org.gagravarr.ogg.OggPacket
 
setRate(long) - Method in class org.gagravarr.vorbis.VorbisInfo
 
setSampleRate(int) - Method in class org.gagravarr.flac.FlacInfo
 
setSignature(byte[]) - Method in class org.gagravarr.flac.FlacInfo
 
setVendor(String) - Method in class org.gagravarr.vorbis.VorbisComments
 
skipToGranule(long) - Method in class org.gagravarr.flac.FlacFile
Skips the audio data to the next packet with a granule of at least the given granule position.
skipToGranule(long) - Method in class org.gagravarr.flac.FlacNativeFile
Skips the audio data to the next packet with a granule of at least the given granule position.
skipToGranule(long) - Method in class org.gagravarr.flac.FlacOggFile
Skips the audio data to the next packet with a granule of at least the given granule position.
skipToGranule(long) - Method in class org.gagravarr.vorbis.VorbisFile
Skips the audio data to the next packet with a granule of at least the given granule position.
skipToGranulePosition(int, long) - Method in class org.gagravarr.ogg.OggPacketReader
Skips forward until the first packet with a Granule Position of equal or greater than that specified.
skipToSequenceNumber(int, int) - Method in class org.gagravarr.ogg.OggPacketReader
Skips forward until the first packet with a Sequence Number of equal or greater than that specified.
STREAMINFO - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 

T

tags - Variable in class org.gagravarr.flac.FlacFile
 
toInt(byte) - Static method in class org.gagravarr.ogg.IOUtils
 
toString() - Method in class org.gagravarr.ogg.OggPage
 
TYPE_COMMENTS - Static variable in class org.gagravarr.vorbis.VorbisPacket
 
TYPE_INFO - Static variable in class org.gagravarr.vorbis.VorbisPacket
 
TYPE_SETUP - Static variable in class org.gagravarr.vorbis.VorbisPacket
 

U

unreadPacket(OggPacket) - Method in class org.gagravarr.ogg.OggPacketReader
Un-reads a packet, leaving it ready to be feteched by the next call to OggPacketReader.getNextPacket().

V

VORBIS_COMMENT - Static variable in class org.gagravarr.flac.FlacMetadataBlock
 
VorbisAudioData - Class in org.gagravarr.vorbis
Raw, compressed audio data
VorbisAudioData(OggPacket) - Constructor for class org.gagravarr.vorbis.VorbisAudioData
 
VorbisAudioData(byte[]) - Constructor for class org.gagravarr.vorbis.VorbisAudioData
 
VorbisComments - Class in org.gagravarr.vorbis
Holds encoder information and user specified tags
VorbisComments(OggPacket) - Constructor for class org.gagravarr.vorbis.VorbisComments
 
VorbisComments() - Constructor for class org.gagravarr.vorbis.VorbisComments
 
VorbisCommentTool - Class in org.gagravarr.vorbis.tools
A class for listing and editing Comments within a Vorbis File, much like the vorbiscomment program.
VorbisCommentTool() - Constructor for class org.gagravarr.vorbis.tools.VorbisCommentTool
 
VorbisFile - Class in org.gagravarr.vorbis
This is a wrapper around an OggFile that lets you get at all the interesting bits
VorbisFile(File) - Constructor for class org.gagravarr.vorbis.VorbisFile
Opens the given file for reading
VorbisFile(OggFile) - Constructor for class org.gagravarr.vorbis.VorbisFile
Opens the given file for reading
VorbisFile(OggPacketReader) - Constructor for class org.gagravarr.vorbis.VorbisFile
Loads a Vorbis File from the given packet reader.
VorbisFile(OutputStream) - Constructor for class org.gagravarr.vorbis.VorbisFile
Opens for writing.
VorbisFile(OutputStream, VorbisInfo, VorbisComments, VorbisSetup) - Constructor for class org.gagravarr.vorbis.VorbisFile
Opens for writing, based on the settings from a pre-read file.
VorbisFile(OutputStream, int, VorbisInfo, VorbisComments, VorbisSetup) - Constructor for class org.gagravarr.vorbis.VorbisFile
Opens for writing, based on the settings from a pre-read file, with a specific Steam ID (SID).
VorbisInfo - Class in org.gagravarr.vorbis
The identification header identifies the bitstream as Vorbis, Vorbis version, and the simple audio characteristics of the stream such as sample rate and number of channels.
VorbisInfo() - Constructor for class org.gagravarr.vorbis.VorbisInfo
 
VorbisInfo(OggPacket) - Constructor for class org.gagravarr.vorbis.VorbisInfo
 
VorbisInfoTool - Class in org.gagravarr.vorbis.tools
A tool for looking at the innards of a Vorbis File
VorbisInfoTool() - Constructor for class org.gagravarr.vorbis.tools.VorbisInfoTool
 
VorbisInfoTool.InfoPacketReader - Class in org.gagravarr.vorbis.tools
 
VorbisInfoTool.InfoPacketReader(InputStream) - Constructor for class org.gagravarr.vorbis.tools.VorbisInfoTool.InfoPacketReader
 
VorbisPacket - Class in org.gagravarr.vorbis
Parent of all Vorbis packets
VorbisPacket(OggPacket) - Constructor for class org.gagravarr.vorbis.VorbisPacket
 
VorbisPacket() - Constructor for class org.gagravarr.vorbis.VorbisPacket
 
VorbisParser - Class in org.gagravarr.tika
Parser for OGG Vorbis audio files
VorbisParser() - Constructor for class org.gagravarr.tika.VorbisParser
 
VorbisSetup - Class in org.gagravarr.vorbis
Includes extensive CODEC setup information as well as the complete VQ and Huffman codebooks needed for decode
VorbisSetup(OggPacket) - Constructor for class org.gagravarr.vorbis.VorbisSetup
 
VorbisSetup() - Constructor for class org.gagravarr.vorbis.VorbisSetup
 

W

write() - Method in class org.gagravarr.flac.FlacFirstOggPacket
 
write(OutputStream) - Method in class org.gagravarr.flac.FlacInfo
 
write(OutputStream) - Method in class org.gagravarr.flac.FlacMetadataBlock
 
write(OutputStream) - Method in class org.gagravarr.flac.FlacTags.FlacTagsAsMetadata
 
write(OutputStream) - Method in class org.gagravarr.flac.FlacUnhandledMetadataBlock
 
write() - Method in class org.gagravarr.ogg.HighLevelOggStreamPacket
 
write() - Method in class org.gagravarr.vorbis.VorbisComments
 
write() - Method in class org.gagravarr.vorbis.VorbisInfo
 
writeAudioData(FlacAudioFrame) - Method in class org.gagravarr.flac.FlacOggFile
Buffers the given audio ready for writing out.
writeAudioData(VorbisAudioData) - Method in class org.gagravarr.vorbis.VorbisFile
Buffers the given audio ready for writing out.
writeHeader(OutputStream) - Method in class org.gagravarr.ogg.OggPage
 
writeInt2(OutputStream, int) - Static method in class org.gagravarr.ogg.IOUtils
 
writeInt2BE(OutputStream, int) - Static method in class org.gagravarr.ogg.IOUtils
 
writeInt3(OutputStream, long) - Static method in class org.gagravarr.ogg.IOUtils
 
writeInt3BE(OutputStream, long) - Static method in class org.gagravarr.ogg.IOUtils
 
writeInt4(OutputStream, long) - Static method in class org.gagravarr.ogg.IOUtils
 
writeInt4BE(OutputStream, long) - Static method in class org.gagravarr.ogg.IOUtils
 
writeInt8(OutputStream, long) - Static method in class org.gagravarr.ogg.IOUtils
 
writePages(OggPage[]) - Method in class org.gagravarr.ogg.OggFile
Writes a (possibly series) of pages to the stream in one go.
writeUTF8(OutputStream, String) - Static method in class org.gagravarr.ogg.IOUtils
Writes the string out as UTF-8
writeUTF8WithLength(OutputStream, String) - Static method in class org.gagravarr.ogg.IOUtils
Writes out a 4 byte integer of the length (in bytes!) of the String, followed by the String (as UTF-8)

_

_getParent() - Method in class org.gagravarr.ogg.OggPacket
Unit tests only!
A B C D E F G H I K L M N O P R S T U V W _ 

Copyright © 2013. All rights reserved.