comparison src/edu/unc/genomics/AssemblyFactory.java @ 2:e16016635b2a

Uploaded
author timpalpant
date Mon, 13 Feb 2012 22:12:06 -0500
parents
children
comparison
equal deleted inserted replaced
1:a54db233ee3d 2:e16016635b2a
1 /**
2 *
3 */
4 package edu.unc.genomics;
5
6 import com.beust.jcommander.IStringConverterFactory;
7
8 /**
9 * @author timpalpant
10 *
11 */
12 public class AssemblyFactory implements IStringConverterFactory {
13
14 /* (non-Javadoc)
15 * @see com.beust.jcommander.IStringConverterFactory#getConverter(java.lang.Class)
16 */
17 @Override
18 public Class<AssemblyConverter> getConverter(Class forType) {
19 if (forType.equals(Assembly.class)) {
20 return AssemblyConverter.class;
21 } else {
22 return null;
23 }
24 }
25
26 }