Class FFprobeResultSAX
java.lang.Object
org.xml.sax.helpers.DefaultHandler
tv.hd3g.fflauncher.ffprobecontainer.FFprobeResultSAX
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,SAXAttributeParserTraits,InputStreamConsumer
public class FFprobeResultSAX
extends DefaultHandler
implements ErrorHandler, InputStreamConsumer, SAXAttributeParserTraits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetResult(ContainerAnalyserSession session) voidonProcessStart(InputStream processInputStream, ProcesslauncherLifecycle source) voidstartElement(String uri, String localName, String qName, Attributes attributes) voidMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDeclMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declarationMethods inherited from interface tv.hd3g.processlauncher.InputStreamConsumer
onCloseMethods inherited from interface tv.hd3g.fflauncher.ffprobecontainer.SAXAttributeParserTraits
getAttrBooleanValue, getAttrBooleanValue, getAttrFloatValue, getAttrFloatValue, getAttrIntValue, getAttrIntValue, getAttrLongValue, getAttrLongValue, getAttrValue, getAttrValue
-
Constructor Details
-
FFprobeResultSAX
public FFprobeResultSAX()
-
-
Method Details
-
onProcessStart
- Specified by:
onProcessStartin interfaceInputStreamConsumer
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
getResult
-
error
- Specified by:
errorin interfaceErrorHandler- Overrides:
errorin classDefaultHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Overrides:
fatalErrorin classDefaultHandler- Throws:
SAXException
-
warning
- Specified by:
warningin interfaceErrorHandler- Overrides:
warningin classDefaultHandler- Throws:
SAXException
-