final
class
Parser extends ParserJ
Instance Constructors
-
new
Parser(in: InputStream, name: String, delimiter: Char = '=', commentStart: String = "#")
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
data: ListMap[String, String]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from ParserJ
Inherited from AnyRef
Inherited from Any
Constructs a parser around an input stream, which may be null. If null, the parser constructs an empty map, otherwise a map is constructed containing the key/value pairs from the input stream's data.
The constructor loads a text file containing configuration strings and splits the strings into key/value pairs. The text files must be UTF, and may use any of the UTF byte-order marks to differentiate their contents. See UTF BOM.
The input stream will always get closed by the Parser constructor (provided it isn't null).
Typically, this class is only used indirectly; the
Parser
object provides convenience methods for dealing with various sources.Note that this implementation is simply a wrapper for the Java
Parser.