@classmethod
def fromParser(cls, arguments):
    """
        Builds an Intent, given arguments parsed by an ArgumentParser that was
        previously initialised with addArgumentsTo().
        """
    return cls(action=arguments.action, category=arguments.category,
        component=arguments.component, data_uri=arguments.data_uri, extras=
        arguments.extras, flags=arguments.flags, mimetype=arguments.mimetype)
