Class YamlParseContext

java.lang.Object
org.kingdoms.utils.config.adapters.YamlParseContext

public final class YamlParseContext extends Object
  • Constructor Details

    • YamlParseContext

      public YamlParseContext()
  • Method Details

    • getName

      @Nullable public @Nullable String getName()
    • getStream

      @NotNull public @NotNull InputStream getStream()
    • getAnchorProcessor

      @Nullable public @Nullable Function<String,org.snakeyaml.common.Anchor> getAnchorProcessor()
    • named

      @NotNull public @NotNull YamlParseContext named(@NotNull @NotNull String name)
    • stream

      @NotNull public @NotNull YamlParseContext stream(@NotNull @NotNull File file)
    • stream

      @NotNull public @NotNull YamlParseContext stream(@NotNull @NotNull InputStream inputStream)
    • stream

      @NotNull public @NotNull YamlParseContext stream(@NotNull @Language("Yaml") @NotNull String text)
    • processAnchors

      @NotNull public @NotNull YamlParseContext processAnchors(@NotNull @NotNull Function<String,org.snakeyaml.common.Anchor> anchorProcessor)
    • shouldResolveAliases

      public boolean shouldResolveAliases()
    • shouldResolveAliases

      @NotNull public @NotNull YamlParseContext shouldResolveAliases(boolean resolveAliases)
    • excludeComments

      public YamlParseContext excludeComments(boolean excludeComments)
    • excludeMarkers

      public YamlParseContext excludeMarkers(boolean excludeMarkers)
    • excludesComments

      public boolean excludesComments()
    • excludesMarkers

      public boolean excludesMarkers()
    • optionalDebugTracing

      public YamlParseContext optionalDebugTracing()