All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gridkit.jvmtool.event.EventDumpParser Maven / Gradle / Ivy

There is a newer version: 0.23
Show newest version
package org.gridkit.jvmtool.event;

import java.io.IOException;
import java.io.InputStream;
import java.util.ServiceLoader;

/**
 * This is SPI interface for dump parsers discovered via {@link ServiceLoader}.
 *  
 * @author Alexey Ragozin ([email protected])
 */
public interface EventDumpParser {

	/**
	 * @return null if cannot open dump or {@link EventReader}
	 * @throws IOException
	 */
	EventReader open(InputStreamSource source) throws IOException;
	
	interface InputStreamSource {
		
		public InputStream open() throws IOException;		
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy