Mercurial > repos > timpalpant > java_genomics_toolkit
view java-genomics-toolkit/src/edu/unc/genomics/WigFileFactory.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; import com.beust.jcommander.IStringConverterFactory; import edu.unc.genomics.io.WigFile; /** * @author timpalpant * */ public class WigFileFactory implements IStringConverterFactory { /* (non-Javadoc) * @see com.beust.jcommander.IStringConverterFactory#getConverter(java.lang.Class) */ @Override public Class<WigFileConverter> getConverter(Class forType) { if (forType.equals(WigFile.class)) { return WigFileConverter.class; } else { return null; } } }