Mercurial > repos > timpalpant > java_genomics_toolkit
comparison java-genomics-toolkit/src/edu/unc/genomics/PathConverter.java @ 0:1daf3026d231
Upload alpha version
author | timpalpant |
---|---|
date | Mon, 13 Feb 2012 21:55:55 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1daf3026d231 |
---|---|
1 package edu.unc.genomics; | |
2 | |
3 import java.nio.file.Path; | |
4 import java.nio.file.Paths; | |
5 | |
6 import com.beust.jcommander.IStringConverter; | |
7 | |
8 /** | |
9 * @author timpalpant | |
10 * | |
11 */ | |
12 public class PathConverter implements IStringConverter<Path> { | |
13 | |
14 @Override | |
15 public Path convert(String value) { | |
16 return Paths.get(value); | |
17 } | |
18 | |
19 } |