Class/Object

org.ekrich.config

ConfigParseOptions

Related Docs: object ConfigParseOptions | package config

Permalink

final class ConfigParseOptions extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigParseOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val allowMissing: Boolean

    Permalink
  5. def appendIncluder(includer: ConfigIncluder): ConfigParseOptions

    Permalink

    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

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val classLoader: ClassLoader

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getAllowMissing: Boolean

    Permalink

    Gets the current "allow missing" flag.

    Gets the current "allow missing" flag.

    returns

    whether we allow missing files

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getClassLoader: ClassLoader

    Permalink

    Get the class loader; never returns null, if the class loader was unset, returns Thread.currentThread().getContextClassLoader().

    Get the class loader; never returns null, if the class loader was unset, returns Thread.currentThread().getContextClassLoader().

    returns

    class loader to use

  15. def getIncluder: ConfigIncluder

    Permalink

    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

  16. def getOriginDescription: String

    Permalink

    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

  17. def getSyntax: ConfigSyntax

    Permalink

    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

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. val includer: ConfigIncluder

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val originDescription: String

    Permalink
  25. def prependIncluder(includer: ConfigIncluder): ConfigParseOptions

    Permalink

    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

  26. def setAllowMissing(allowMissing: Boolean): ConfigParseOptions

    Permalink

    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

  27. def setClassLoader(loader: ClassLoader): ConfigParseOptions

    Permalink

    Set the class loader.

    Set the class loader. If set to null, Thread.currentThread().getContextClassLoader() will be used.

    loader

    a class loader or null to use thread context class loader

    returns

    options with the class loader set

  28. def setIncluder(includer: ConfigIncluder): ConfigParseOptions

    Permalink

    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

  29. def setOriginDescription(originDescription: String): ConfigParseOptions

    Permalink

    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

  30. def setSyntax(syntax: ConfigSyntax): ConfigParseOptions

    Permalink

    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 null for best guess

    returns

    options with the syntax set

  31. def setSyntaxFromFilename(filename: String): ConfigParseOptions

    Permalink

    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

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. val syntax: ConfigSyntax

    Permalink
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped