@Test public void shouldFixFile() { Assert.assertEquals("/path/to/myfile.album", AlbumFile.fixPath("/path/to/myfile.album/%")); Assert.assertEquals("/path/to/myfile.album", AlbumFile.fixPath("/path/to/myfile.album")); }
public static String fixPath(String uri) { String result = removeAtEnd(FileUtils.fixPath(uri), "%", "/"); return result; }
AlbumFile { public static String fixPath(String uri) { String result = removeAtEnd(FileUtils.fixPath(uri), "%", "/"); return result; } }
AlbumFile { public static String fixPath(String uri) { String result = removeAtEnd(FileUtils.fixPath(uri), "%", "/"); return result; }  }
AlbumFile { public static String fixPath(String uri) { String result = removeAtEnd(FileUtils.fixPath(uri), "%", "/"); return result; }  static boolean isQueryFile(String uri); static boolean isQueryFile(File uri); static File getExistingQueryFileOrNull(String uri); static String fixPath(String uri); static List<String> getFilePaths(List<String> result, File root, int subDirLevels); }
AlbumFile { public static String fixPath(String uri) { String result = removeAtEnd(FileUtils.fixPath(uri), "%", "/"); return result; }  static boolean isQueryFile(String uri); static boolean isQueryFile(File uri); static File getExistingQueryFileOrNull(String uri); static String fixPath(String uri); static List<String> getFilePaths(List<String> result, File root, int subDirLevels); static final String SUFFIX_VALBUM; static final String SUFFIX_QUERY; }