Trait

org.ekrich.config.impl

FullIncluder

Related Doc: package impl

Permalink

trait FullIncluder extends ConfigIncluder with ConfigIncluderFile with ConfigIncluderURL with ConfigIncluderClasspath

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FullIncluder
  2. ConfigIncluderClasspath
  3. ConfigIncluderURL
  4. ConfigIncluderFile
  5. ConfigIncluder
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def include(context: ConfigIncludeContext, what: String): ConfigObject

    Permalink

    Parses another item to be included.

    Parses another item to be included. The returned object typically would not have substitutions resolved. You can throw a ConfigException here to abort parsing, or return an empty object, but may not return null.

    This method is used for a "heuristic" include statement that does not specify file, URL, or classpath resource. If the include statement does specify, then the same class implementing ConfigIncluder must also implement ConfigIncluderClasspath, ConfigIncluderFile, or ConfigIncluderURL as needed, or a default includer will be used.

    context

    some info about the include context

    what

    the include statement's argument

    returns

    a non-null ConfigObject

    Definition Classes
    ConfigIncluder
  2. abstract def includeFile(context: ConfigIncludeContext, what: File): ConfigObject

    Permalink

    Parses another item to be included.

    Parses another item to be included. The returned object typically would not have substitutions resolved. You can throw a ConfigException here to abort parsing, or return an empty object, but may not return null.

    context

    some info about the include context

    what

    the include statement's argument

    returns

    a non-null ConfigObject

    Definition Classes
    ConfigIncluderFile
  3. abstract def includeResources(context: ConfigIncludeContext, what: String): ConfigObject

    Permalink

    Parses another item to be included.

    Parses another item to be included. The returned object typically would not have substitutions resolved. You can throw a ConfigException here to abort parsing, or return an empty object, but may not return null.

    context

    some info about the include context

    what

    the include statement's argument

    returns

    a non-null ConfigObject

    Definition Classes
    ConfigIncluderClasspath
  4. abstract def includeURL(context: ConfigIncludeContext, what: URL): ConfigObject

    Permalink

    Parses another item to be included.

    Parses another item to be included. The returned object typically would not have substitutions resolved. You can throw a ConfigException here to abort parsing, or return an empty object, but may not return null.

    context

    some info about the include context

    what

    the include statement's argument

    returns

    a non-null ConfigObject

    Definition Classes
    ConfigIncluderURL
  5. abstract def withFallback(fallback: ConfigIncluder): ConfigIncluder

    Permalink

    Returns a new includer that falls back to the given includer.

    Returns a new includer that falls back to the given includer. This is how you can obtain the default includer; it will be provided as a fallback. It's up to your includer to chain to it if you want to. You might want to merge any files found by the fallback includer with any objects you load yourself.

    It's important to handle the case where you already have the fallback with a "return this", i.e. this method should not create a new object if the fallback is the same one you already have. The same fallback may be added repeatedly.

    fallback

    the previous includer for chaining

    returns

    a new includer

    Definition Classes
    ConfigIncluder

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

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

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

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

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

Inherited from ConfigIncluderClasspath

Inherited from ConfigIncluderURL

Inherited from ConfigIncluderFile

Inherited from ConfigIncluder

Inherited from AnyRef

Inherited from Any

Ungrouped