public AquariusProperties(String path, String stringEncoding, String readerEncoding) throws IOException { this(new AquariusContent(path, stringEncoding).getContent(), readerEncoding); }
public AquariusProperties(String path, String stringEncoding, String readerEncoding) throws IOException { this(new AquariusContent(path, stringEncoding).getContent(), readerEncoding); }
public static Config createJsonFileConfig(String jsonConfigPath) throws IOException { LOG.info("Start to read {}...", jsonConfigPath); AquariusContent content = new AquariusContent(jsonConfigPath, AquariusConstant.ENCODING_UTF_8); return createJsonConfig(content.getContent()); }
public static Config createYamlFileConfig(String yamlConfigPath) throws IOException { LOG.info("Start to read {}...", yamlConfigPath); AquariusContent content = new AquariusContent(yamlConfigPath, AquariusConstant.ENCODING_UTF_8); return createYamlConfig(content.getContent()); }
public static Config createJsonFileConfig(String jsonConfigPath) throws IOException { LOG.info("Start to read {}...", jsonConfigPath); AquariusContent content = new AquariusContent(jsonConfigPath, AquariusConstant.ENCODING_UTF_8); return createJsonConfig(content.getContent()); }
public static Config createYamlFileConfig(String yamlConfigPath) throws IOException { LOG.info("Start to read {}...", yamlConfigPath); AquariusContent content = new AquariusContent(yamlConfigPath, AquariusConstant.ENCODING_UTF_8); return createYamlConfig(content.getContent()); }