@Test void testSavingEmptyFile(final @TempDir Path tempDir) throws IOException { final File tempFile = tempDir.resolve("text2.txt").toFile(); tempFile.createNewFile(); final ConfigurationLoader<BasicConfigurationNode> loader = GsonConfigurationLoader.builder() .setFile(tempFile) .build(); final BasicConfigurationNode n = BasicConfigurationNode.root(); loader.save(n); }
@NonNull public static Builder builder() { return new Builder(); }
GsonConfigurationLoader extends AbstractConfigurationLoader<BasicConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } }
GsonConfigurationLoader extends AbstractConfigurationLoader<BasicConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } private  GsonConfigurationLoader(final Builder builder); }
GsonConfigurationLoader extends AbstractConfigurationLoader<BasicConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } private  GsonConfigurationLoader(final Builder builder); @NonNull static Builder builder(); @Override BasicConfigurationNode createNode(ConfigurationOptions options); }
GsonConfigurationLoader extends AbstractConfigurationLoader<BasicConfigurationNode> { @NonNull public static Builder builder() { return new Builder(); } private  GsonConfigurationLoader(final Builder builder); @NonNull static Builder builder(); @Override BasicConfigurationNode createNode(ConfigurationOptions options);  }