org.gridkit.jvmtool.event.DecoderFactory Maven / Gradle / Ivy
package org.gridkit.jvmtool.event;
import java.io.InputStream;
public interface DecoderFactory {
public boolean canHandle(String magic, Class extends Event> eventType);
public EventReader createEventReader(String magic, InputStream stream, Class extends Event> eventType, ErrorHandler handler);
}