org.deckfour.xes.in
Class XMxmlGZIPParser

java.lang.Object
  extended by org.deckfour.xes.in.XParser
      extended by org.deckfour.xes.in.XMxmlParser
          extended by 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
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
 String author()
          Returns the name of the author of this parser.
 boolean canParse(File file)
          Checks whether this parser can handle the given file.
 String description()
          Returns a brief description of this parser.
 String name()
          Returns the name of this parser or, more specifically, the name of the format it can process.
 List<XLog> parse(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
parse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 String author()
Description copied from class: XParser
Returns the name of the author of this parser.

Overrides:
author in class XMxmlParser

canParse

public boolean canParse(File file)
Description copied from class: XParser
Checks whether this parser can handle the given file.

Overrides:
canParse in class XMxmlParser
Parameters:
file - File to check against parser.
Returns:
Whether this parser can handle the given file.

description

public String description()
Description copied from class: XParser
Returns a brief description of this parser.

Overrides:
description in class XMxmlParser

name

public String name()
Description copied from class: XParser
Returns the name of this parser or, more specifically, the name of the format it can process.

Overrides:
name in class XMxmlParser

parse

public List<XLog> parse(InputStream is)
                 throws Exception
Description copied from class: XMxmlParser
Parses a set of logs from the given input stream, which is supposed to deliver an MXML serialization.

Overrides:
parse in class XMxmlParser
Parameters:
is - Input stream, which is supposed to deliver an MXML serialization.
Returns:
The parsed list of logs.
Throws:
Exception