Package org.deckfour.xes.in
Class XMxmlGZIPParser
- java.lang.Object
-
- org.deckfour.xes.in.XParser
-
- org.deckfour.xes.in.XMxmlParser
-
- org.deckfour.xes.in.XMxmlGZIPParser
-
public class XMxmlGZIPParser extends XMxmlParser
Parser for the compressed MXML format for event logs (deprecated).- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.deckfour.xes.in.XMxmlParser
XMxmlParser.MxmlHandler
-
-
Field Summary
-
Fields inherited from class org.deckfour.xes.in.XMxmlParser
MXML_CLASSIFIERS, MXML_EVENT_NAME_CLASSIFIER, MXML_ORIGINATOR_CLASSIFIER, MXML_STANDARD_CLASSIFIER, xsDateTimeConversion
-
-
Constructor Summary
Constructors Constructor Description XMxmlGZIPParser()Creates a new MXML parser instance, using the current standard factory for XES model building.XMxmlGZIPParser(XFactory factory)Creates a new MXML 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 set of logs from the given input stream, which is supposed to deliver an MXML serialization.-
Methods inherited from class org.deckfour.xes.in.XParser
endsWithIgnoreCase, parse, toString
-
-
-
-
Constructor Detail
-
XMxmlGZIPParser
public XMxmlGZIPParser(XFactory factory)
Creates a new MXML parser instance.- Parameters:
factory- The factory to use for XES model building.
-
XMxmlGZIPParser
public XMxmlGZIPParser()
Creates a new MXML parser instance, using the current standard factory for XES model building.
-
-
Method Detail
-
author
public java.lang.String author()
Description copied from class:XParserReturns the name of the author of this parser.- Overrides:
authorin classXMxmlParser
-
canParse
public boolean canParse(java.io.File file)
Description copied from class:XParserChecks whether this parser can handle the given file.- Overrides:
canParsein classXMxmlParser- 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 classXMxmlParser
-
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 classXMxmlParser
-
parse
public java.util.List<XLog> parse(java.io.InputStream is) throws java.lang.Exception
Description copied from class:XMxmlParserParses a set of logs from the given input stream, which is supposed to deliver an MXML serialization.- Overrides:
parsein classXMxmlParser- Parameters:
is- Input stream, which is supposed to deliver an MXML serialization.- Returns:
- The parsed list of logs.
- Throws:
java.lang.Exception
-
-