Skip to content

Package io.github.qishr.cascara.common.lang.processor

Interface PushParser

java.lang.Object
        io.github.qishr.cascara.common.lang.processor.PushParser

All Implemented Interfaces:
    Processor

All Known Implementing Classes:
    JsonPushParser, YamlPushParser


@io.github.qishr.cascara.common.annotation.Beta
public interface PushParser

Method Summary

Modifier and Type Method Description
public abstract void parse(InputStream input, StreamHandler<?> handler) Eagerly drives the input stream to completion, passing every structural event encountered directly to the registered handler.

Method Details

parse

public abstract void parse(InputStream input, StreamHandler<?> handler)

Eagerly drives the input stream to completion, passing every structural event encountered directly to the registered handler.

Throws:

ParserException