Mercurial > repos > timpalpant > java_genomics_toolkit
view java-genomics-toolkit/src/edu/unc/genomics/nucleosomes/NucleosomeCallsFile.java @ 0:1daf3026d231
Upload alpha version
author | timpalpant |
---|---|
date | Mon, 13 Feb 2012 21:55:55 -0500 |
parents | |
children |
line wrap: on
line source
/** * */ package edu.unc.genomics.nucleosomes; import java.io.IOException; import java.nio.file.Path; import edu.unc.genomics.IntervalFactory; import edu.unc.genomics.io.TextIntervalFile; /** * @author timpalpant * */ public class NucleosomeCallsFile extends TextIntervalFile<NucleosomeCall> { public NucleosomeCallsFile(Path p) throws IOException { super(p, new NucleosomeCallFactory()); } public static class NucleosomeCallFactory implements IntervalFactory<NucleosomeCall> { @Override public NucleosomeCall parse(String line) { return NucleosomeCall.parse(line); } } }