Class XMxmlGZIPParser


  • public class XMxmlGZIPParser
    extends XMxmlParser
    Parser for the compressed MXML format for event logs (deprecated).
    Author:
    Christian W. Guenther (christian@deckfour.org)
    • 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: XParser
        Returns the name of the author of this parser.
        Overrides:
        author in class XMxmlParser
      • canParse

        public boolean canParse​(java.io.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 java.lang.String description()
        Description copied from class: XParser
        Returns a brief description of this parser.
        Overrides:
        description in class XMxmlParser
      • name

        public java.lang.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 java.util.List<XLog> parse​(java.io.InputStream is)
                                   throws java.lang.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:
        java.lang.Exception