@Test public void shouldNotNeedToHashShortNames() { File original = new File("dir", "file1"); File expected = new File("dir", "file1.gz"); String newName = TandemPath.join(original.toString(), ".gz"); assertEquals(expected.toString(), newName); }
public static String join(String filePath, String asciiExtension) { File file = new File(filePath); String newName = TandemFilename.join(file.getName(), asciiExtension); File newFile = new File(file.getParent(), newName); return newFile.getPath(); }
TandemPath { public static String join(String filePath, String asciiExtension) { File file = new File(filePath); String newName = TandemFilename.join(file.getName(), asciiExtension); File newFile = new File(file.getParent(), newName); return newFile.getPath(); } }
TandemPath { public static String join(String filePath, String asciiExtension) { File file = new File(filePath); String newName = TandemFilename.join(file.getName(), asciiExtension); File newFile = new File(file.getParent(), newName); return newFile.getPath(); } private  TandemPath(); }
TandemPath { public static String join(String filePath, String asciiExtension) { File file = new File(filePath); String newName = TandemFilename.join(file.getName(), asciiExtension); File newFile = new File(file.getParent(), newName); return newFile.getPath(); } private  TandemPath(); static String join(String filePath, String asciiExtension); }
TandemPath { public static String join(String filePath, String asciiExtension) { File file = new File(filePath); String newName = TandemFilename.join(file.getName(), asciiExtension); File newFile = new File(file.getParent(), newName); return newFile.getPath(); } private  TandemPath(); static String join(String filePath, String asciiExtension);  }