final class ConfigParseOptions extends AnyRef
- Alphabetic
- By Inheritance
- ConfigParseOptions
- 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
- val allowMissing: Boolean
- def appendIncluder(includer: ConfigIncluder): ConfigParseOptions
Appends a ConfigIncluder which customizes how includes are handled.
Appends a ConfigIncluder which customizes how includes are handled. To append, the library calls ConfigIncluder#withFallback on the existing includer.
- includer
the includer to append (may not be null)
- returns
new version of the parse options with different includer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val classLoader: ClassLoader
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAllowMissing: Boolean
Gets the current "allow missing" flag.
Gets the current "allow missing" flag.
- returns
whether we allow missing files
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getClassLoader: ClassLoader
Get the class loader; never returns
null, if the class loader was unset, returnsThread.currentThread().getContextClassLoader().Get the class loader; never returns
null, if the class loader was unset, returnsThread.currentThread().getContextClassLoader().- returns
class loader to use
- def getIncluder: ConfigIncluder
Gets the current includer (will be null for the default includer).
Gets the current includer (will be null for the default includer).
- returns
current includer or null
- def getOriginDescription: String
Gets the current origin description, which may be null for "automatic".
Gets the current origin description, which may be null for "automatic".
- returns
the current origin description or null
- def getSyntax: ConfigSyntax
Gets the current syntax option, which may be null for "any".
Gets the current syntax option, which may be null for "any".
- returns
the current syntax or null
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val includer: ConfigIncluder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val originDescription: String
- def prependIncluder(includer: ConfigIncluder): ConfigParseOptions
Prepends a ConfigIncluder which customizes how includes are handled.
Prepends a ConfigIncluder which customizes how includes are handled. To prepend your includer, the library calls ConfigIncluder#withFallback on your includer to append the existing includer to it.
- includer
the includer to prepend (may not be null)
- returns
new version of the parse options with different includer
- def setAllowMissing(allowMissing: Boolean): ConfigParseOptions
Set to false to throw an exception if the item being parsed (for example a file) is missing.
Set to false to throw an exception if the item being parsed (for example a file) is missing. Set to true to just return an empty document in that case. Note that this setting applies on only to fetching the root document, it has no effect on any nested includes.
- allowMissing
true to silently ignore missing item
- returns
options with the "allow missing" flag set
- def setClassLoader(loader: ClassLoader): ConfigParseOptions
Set the class loader.
Set the class loader. If set to null,
Thread.currentThread().getContextClassLoader()will be used.- loader
a class loader or
nullto use thread context class loader- returns
options with the class loader set
- def setIncluder(includer: ConfigIncluder): ConfigParseOptions
Set a ConfigIncluder which customizes how includes are handled.
Set a ConfigIncluder which customizes how includes are handled. null means to use the default includer.
- includer
the includer to use or null for default
- returns
new version of the parse options with different includer
- def setOriginDescription(originDescription: String): ConfigParseOptions
Set a description for the thing being parsed.
Set a description for the thing being parsed. In most cases this will be set up for you to something like the filename, but if you provide just an input stream you might want to improve on it. Set to null to allow the library to come up with something automatically. This description is the basis for the ConfigOrigin of the parsed values.
- originDescription
description to put in the ConfigOrigin
- returns
options with the origin description set
- def setSyntax(syntax: ConfigSyntax): ConfigParseOptions
Set the file format.
Set the file format. If set to null, try to guess from any available filename extension; if guessing fails, assume ConfigSyntax#CONF.
- syntax
a syntax or
nullfor best guess- returns
options with the syntax set
- def setSyntaxFromFilename(filename: String): ConfigParseOptions
Set the file format.
Set the file format. If set to null, assume ConfigSyntax#CONF.
- filename
a configuration file name
- returns
options with the syntax set
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val syntax: ConfigSyntax
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)