Uses of Class
com.github.tadukoo.parsing.fileformat.FormatNode.FormatNodeBuilder
Package
Description
Provides classes for making your own custom File Format, similar to YAML syntax
-
Uses of FormatNode.FormatNodeBuilder in com.github.tadukoo.parsing.fileformat
Modifier and TypeMethodDescriptionstatic FormatNode.FormatNodeBuilder
FormatNode.builder()
Constructs aFormatNode.FormatNodeBuilder
to be used to construct a FormatNode.Adds the given string to the list of allowed names for child Nodes.FormatNode.FormatNodeBuilder.childNames
(List<String> childNames) Sets the allowed names for child Nodes.FormatNode.FormatNodeBuilder.dataFormat
(String dataFormat) Sets the TFormatting to use for the data of the Node.Sets the regex to use for the data of the Node.FormatNode.FormatNodeBuilder.level
(int level) Sets the level of the Node.FormatNode.FormatNodeBuilder.logger
(com.github.tadukoo.util.logger.EasyLogger logger) Set theEasyLogger
to use for logging initialization messages.Sets the name to use for the FormatNode.FormatNode.FormatNodeBuilder.nextSiblingName
(String nextSiblingName) Adds the given string to the list of allowed names for next sibling Nodes.FormatNode.FormatNodeBuilder.nextSiblingNames
(List<String> nextSiblingNames) Sets the allowed names for next sibling Nodes.FormatNode.FormatNodeBuilder.nullChildName()
Adds null to the allowed names for child Nodes.FormatNode.FormatNodeBuilder.nullNextSiblingName()
Adds null to the allowed names for next sibling Nodes.FormatNode.FormatNodeBuilder.nullParentName()
Adds null to the allowed names for parent Nodes.FormatNode.FormatNodeBuilder.nullPrevSiblingName()
Adds null to the allowed names for previous sibling Nodes.FormatNode.FormatNodeBuilder.parentName
(String parentName) Adds the given string to the list of allowed names for parent Nodes.FormatNode.FormatNodeBuilder.parentNames
(List<String> parentNames) Sets the allowed names for parent Nodes.FormatNode.FormatNodeBuilder.prevSiblingName
(String prevSiblingName) Adds the given string to the list of allowed names for previous sibling Nodes.FormatNode.FormatNodeBuilder.prevSiblingNames
(List<String> prevSiblingNames) Sets the allowed names for previous sibling Nodes.If you specify text, you should only specify the Logger in addition to this.FormatNode.FormatNodeBuilder.titleFormat
(String titleFormat) Sets the TFormatting to use for the title of the Node.FormatNode.FormatNodeBuilder.titleRegex
(String titleRegex) Sets the regex to use for the title of the Node.