object ConfigHeaderParser
Provides parser implementation for configuration header sections in text markup files, which are expected to be in HOCON format.
- Alphabetic
- By Inheritance
- ConfigHeaderParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def betweenLines(startDelim: String, endDelim: String): Parser[ConfigParser]
Parser for configuration headers which are enclosed between the specified start and end delimiters.
Parser for configuration headers which are enclosed between the specified start and end delimiters. These delimiters are expected to be both on a separate line.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forTextParser(parser: Parser[String]): Parser[ConfigParser]
Generic base parser for configuration headers based on the specified string parser.
Generic base parser for configuration headers based on the specified string parser.
The parser is expected to detect and consume any start and end delimiters without adding them to the result which is supposed to be a string in HOCON format.
The contract for such a parser is that it fails if it cannot successfully read the expected start or end delimiters, so that other parsers (if defined) can be tried instead.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(config: Config, values: Seq[(String, ConfigValue)]): Config
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withDefaultLineDelimiters: Parser[ConfigParser]
Parser for default configuration headers which are enclosed between lines containing
{%
and%}
respectively.