FileUtils { public static boolean isAbsolute(String url) { return url != null && url.startsWith("/"); } private  FileUtils(); static boolean isLocaleFile(String url); static boolean isAbsolute(String url); @NonNull @Contract(pure = true) static String getCsvFolderName(); static final String LOCALE_FILE_SCHEME; }
@Test public void isAbsolute_true() { assertThat(FileUtils.isAbsolute(absoluteURL)).isTrue(); }
@Test public void isAbsolute_false() { assertThat(FileUtils.isAbsolute(localURL)).isFalse(); }