@Test public void testRelativeURL() throws Exception { File f = FsHelper.toFile("file: assertEquals("fred", f.getName()); assertEquals("." + File.separator + "fred", f.getPath()); }
public static File toFile(String s) throws IOException, URISyntaxException { try { return createFileReference(createUrlFromString(s, true)); } catch (IllegalArgumentException e) { return new File(s); } }
FsHelper { public static File toFile(String s) throws IOException, URISyntaxException { try { return createFileReference(createUrlFromString(s, true)); } catch (IllegalArgumentException e) { return new File(s); } } }
FsHelper { public static File toFile(String s) throws IOException, URISyntaxException { try { return createFileReference(createUrlFromString(s, true)); } catch (IllegalArgumentException e) { return new File(s); } }  }
FsHelper { public static File toFile(String s) throws IOException, URISyntaxException { try { return createFileReference(createUrlFromString(s, true)); } catch (IllegalArgumentException e) { return new File(s); } }  static File toFile(String s); static File createFileReference(URL url); static File createFileReference(URL url, String charset); @Deprecated static URL createUrlFromString(String s); static URL createUrlFromString(String s, boolean backslashConvert); static FileFilter createFilter(String filterExpression, String filterImpl); static FileFilter logWarningIfRequired(FileFilter f); static File renameFile(File file, String suffix, FsWorker worker); }
FsHelper { public static File toFile(String s) throws IOException, URISyntaxException { try { return createFileReference(createUrlFromString(s, true)); } catch (IllegalArgumentException e) { return new File(s); } }  static File toFile(String s); static File createFileReference(URL url); static File createFileReference(URL url, String charset); @Deprecated static URL createUrlFromString(String s); static URL createUrlFromString(String s, boolean backslashConvert); static FileFilter createFilter(String filterExpression, String filterImpl); static FileFilter logWarningIfRequired(FileFilter f); static File renameFile(File file, String suffix, FsWorker worker);  }