Package org.deckfour.xes.in
Class XesXmlGZIPParser
- java.lang.Object
-
- org.deckfour.xes.in.XParser
-
- org.deckfour.xes.in.XesXmlParser
-
- org.deckfour.xes.in.XesXmlGZIPParser
-
public class XesXmlGZIPParser extends XesXmlParser
Parser for the compressed XES XML serialization.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.deckfour.xes.in.XesXmlParser
XesXmlParser.XesXmlHandler
-
-
Field Summary
-
Fields inherited from class org.deckfour.xes.in.XesXmlParser
factory, XES_URI, xsDateTimeConversion
-
-
Constructor Summary
Constructors Constructor Description XesXmlGZIPParser()Creates a new parser instance, using the currently-set standard factory for building the model.XesXmlGZIPParser(XFactory factory)Creates a new parser instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringauthor()Returns the name of the author of this parser.booleancanParse(java.io.File file)Checks whether this parser can handle the given file.java.lang.Stringdescription()Returns a brief description of this parser.java.lang.Stringname()Returns the name of this parser or, more specifically, the name of the format it can process.java.util.List<XLog>parse(java.io.InputStream is)Parses a log from the given input stream, which is supposed to deliver an XES log in XML representation.-
Methods inherited from class org.deckfour.xes.in.XParser
endsWithIgnoreCase, parse, toString
-
-
-
-
Constructor Detail
-
XesXmlGZIPParser
public XesXmlGZIPParser(XFactory factory)
Creates a new parser instance.- Parameters:
factory- The XES model factory instance used to build the model from the serialization.
-
XesXmlGZIPParser
public XesXmlGZIPParser()
Creates a new parser instance, using the currently-set standard factory for building the model.
-
-
Method Detail
-
author
public java.lang.String author()
Description copied from class:XParserReturns the name of the author of this parser.- Overrides:
authorin classXesXmlParser
-
canParse
public boolean canParse(java.io.File file)
Description copied from class:XParserChecks whether this parser can handle the given file.- Overrides:
canParsein classXesXmlParser- Parameters:
file- File to check against parser.- Returns:
- Whether this parser can handle the given file.
-
description
public java.lang.String description()
Description copied from class:XParserReturns a brief description of this parser.- Overrides:
descriptionin classXesXmlParser
-
name
public java.lang.String name()
Description copied from class:XParserReturns the name of this parser or, more specifically, the name of the format it can process.- Overrides:
namein classXesXmlParser
-
parse
public java.util.List<XLog> parse(java.io.InputStream is) throws java.lang.Exception
Description copied from class:XesXmlParserParses a log from the given input stream, which is supposed to deliver an XES log in XML representation.- Overrides:
parsein classXesXmlParser- Parameters:
is- Input stream, which is supposed to deliver an XES log in XML representation.- Returns:
- The parsed log.
- Throws:
java.lang.Exception
-
-