@Test public void testInitialisation() { FileConfigurationSource source; source = new FileConfigurationSource(file, "utf-8"); assert file.equals(source.getFile()); source = new FileConfigurationSource(file.getAbsolutePath(), "utf-8"); assert file.equals(source.getFile()); }
public File getFile() { return file; }
FileConfigurationSource implements ConfigurationSource { public File getFile() { return file; } }
FileConfigurationSource implements ConfigurationSource { public File getFile() { return file; } @Deprecated  FileConfigurationSource(File file);  FileConfigurationSource(File file, Charset charset);  FileConfigurationSource(File file, String charset); @Deprecated  FileConfigurationSource(String path);  FileConfigurationSource(String path, String charset);  FileConfigurationSource(String path, Charset charset); }
FileConfigurationSource implements ConfigurationSource { public File getFile() { return file; } @Deprecated  FileConfigurationSource(File file);  FileConfigurationSource(File file, Charset charset);  FileConfigurationSource(File file, String charset); @Deprecated  FileConfigurationSource(String path);  FileConfigurationSource(String path, String charset);  FileConfigurationSource(String path, Charset charset); File getFile(); Charset getCharset(); @Override Reader getReader(); @Override Writer getWriter(); @Override boolean isExists(); }
FileConfigurationSource implements ConfigurationSource { public File getFile() { return file; } @Deprecated  FileConfigurationSource(File file);  FileConfigurationSource(File file, Charset charset);  FileConfigurationSource(File file, String charset); @Deprecated  FileConfigurationSource(String path);  FileConfigurationSource(String path, String charset);  FileConfigurationSource(String path, Charset charset); File getFile(); Charset getCharset(); @Override Reader getReader(); @Override Writer getWriter(); @Override boolean isExists();  }