edu.iris.dmc.seed.director.BlocketteDirector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-4-seed Show documentation
Show all versions of java-4-seed Show documentation
Java API to work with seismic dataless seed
package edu.iris.dmc.seed.director;
import java.io.IOException;
import java.io.InputStream;
import edu.iris.dmc.seed.Blockette;
import edu.iris.dmc.seed.blockette.util.BlocketteItrator;
import edu.iris.dmc.seed.builder.Builder;
import edu.iris.dmc.seed.io.RecordInputStream;
public class BlocketteDirector {
private Builder builder;
public BlocketteDirector(Builder blocketteBuilder) {
this.builder = blocketteBuilder;
}
public BlocketteItrator process(InputStream inputStream) throws IOException {
//SeedRecordInputStream seedRecordInputStream = new SeedRecordInputStream(inputStream);
RecordInputStream seedRecordInputStream = new RecordInputStream(inputStream);
return new BlocketteItrator(seedRecordInputStream, builder);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy