org.gagravarr.tika
Class VorbisParser

java.lang.Object
  extended by org.apache.tika.parser.AbstractParser
      extended by org.gagravarr.tika.VorbisParser
All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class VorbisParser
extends org.apache.tika.parser.AbstractParser

Parser for OGG Vorbis audio files

See Also:
Serialized Form

Constructor Summary
VorbisParser()
           
 
Method Summary
protected static void extractChannelInfo(org.apache.tika.metadata.Metadata metadata, int channelCount)
           
protected static void extractComments(org.apache.tika.metadata.Metadata metadata, org.apache.tika.sax.XHTMLContentHandler xhtml, VorbisComments comments)
           
protected  void extractInfo(org.apache.tika.metadata.Metadata metadata, VorbisInfo info)
           
 Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
           
 void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
           
 
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VorbisParser

public VorbisParser()
Method Detail

getSupportedTypes

public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)

parse

public void parse(InputStream stream,
                  ContentHandler handler,
                  org.apache.tika.metadata.Metadata metadata,
                  org.apache.tika.parser.ParseContext context)
           throws IOException,
                  org.apache.tika.exception.TikaException,
                  SAXException
Throws:
IOException
org.apache.tika.exception.TikaException
SAXException

extractInfo

protected void extractInfo(org.apache.tika.metadata.Metadata metadata,
                           VorbisInfo info)
                    throws org.apache.tika.exception.TikaException
Throws:
org.apache.tika.exception.TikaException

extractChannelInfo

protected static void extractChannelInfo(org.apache.tika.metadata.Metadata metadata,
                                         int channelCount)

extractComments

protected static void extractComments(org.apache.tika.metadata.Metadata metadata,
                                      org.apache.tika.sax.XHTMLContentHandler xhtml,
                                      VorbisComments comments)
                               throws org.apache.tika.exception.TikaException,
                                      SAXException
Throws:
org.apache.tika.exception.TikaException
SAXException


Copyright © 2012. All Rights Reserved.