comparison src/edu/unc/genomics/PathConverter.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 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 }