FileUtils { public static boolean isLocaleFile(String url) { return url != null && url.startsWith(LOCALE_FILE_SCHEME); } 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 fileIsLocal_true() { assertThat(FileUtils.isLocaleFile(localURL)).isTrue(); }
@Test public void fileIsLocal_false() { assertThat(FileUtils.isLocaleFile(absoluteURL)).isFalse(); }