Class ConfigurationComments
- java.lang.Object
-
- cc.carm.lib.configuration.core.source.ConfigurationComments
-
public class ConfigurationComments extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected @NotNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>
headerComments
protected @NotNull java.util.Map<java.lang.String,java.lang.String>
inlineComments
-
Constructor Summary
Constructors Constructor Description ConfigurationComments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable @Unmodifiable java.util.List<java.lang.String>
getHeaderComment(@Nullable java.lang.String path)
protected @NotNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getHeaderComments()
@Nullable java.lang.String
getInlineComment(@NotNull java.lang.String path)
protected @NotNull java.util.Map<java.lang.String,java.lang.String>
getInlineComments()
void
setHeaderComments(@Nullable java.lang.String path, @Nullable java.util.List<java.lang.String> comments)
void
setInlineComment(@NotNull java.lang.String path, @Nullable java.lang.String comment)
-
-
-
Method Detail
-
getHeaderComments
@NotNull protected @NotNull java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaderComments()
-
getInlineComments
@NotNull protected @NotNull java.util.Map<java.lang.String,java.lang.String> getInlineComments()
-
setHeaderComments
public void setHeaderComments(@Nullable @Nullable java.lang.String path, @Nullable @Nullable java.util.List<java.lang.String> comments)
-
setInlineComment
public void setInlineComment(@NotNull @NotNull java.lang.String path, @Nullable @Nullable java.lang.String comment)
-
getHeaderComment
@Nullable public @Nullable @Unmodifiable java.util.List<java.lang.String> getHeaderComment(@Nullable @Nullable java.lang.String path)
-
getInlineComment
@Nullable public @Nullable java.lang.String getInlineComment(@NotNull @NotNull java.lang.String path)
-
-