@Test void testSplitLineCommentInput(final @TempDir Path tempDir) throws IOException { final Path saveTo = tempDir.resolve("text2.txt"); final HoconConfigurationLoader loader = HoconConfigurationLoader.builder() .setPath(saveTo) .setUrl(getClass().getResource("/splitline-comment-input.conf")) .build(); final CommentedConfigurationNode node = loader.load(); loader.save(node); assertEquals(Resources.readLines(getClass().getResource("/splitline-comment-output.conf"), StandardCharsets.UTF_8), Files.readAllLines(saveTo, StandardCharsets.UTF_8)); }
@NonNull public static Builder builder() { return new Builder(); }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } private  HoconConfigurationLoader(final Builder build); }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } private  HoconConfigurationLoader(final Builder build); @NonNull static Builder builder(); @NonNull @Override CommentedConfigurationNode createNode(@NonNull ConfigurationOptions options); }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } private  HoconConfigurationLoader(final Builder build); @NonNull static Builder builder(); @NonNull @Override CommentedConfigurationNode createNode(@NonNull ConfigurationOptions options);  }