FileReader

confuse.formats.FileReader
See theFileReader companion object

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HoconReader.type
object IniReader.type
object JsonReader.type
object PropsReader.type
object YamlReader.type

Members list

Concise view

Value members

Abstract methods

def read(name: String, stream: InputStream, sizeHint: Int): Result

Read the content of a configuration file.

Read the content of a configuration file.

Attributes

name

The name of the config file.

sizeHint

Length of the content stream. This should be used for optimization purposes only and may not actually correspond to the actual size (for example if the stream is not backed by an actual file).

stream

Content stream of the file.