Expand description
§jprop
no-std parser for java .properties files that actually works.
Structs§
- InfallibleIO
- Marker struct for I/O which cannot fail. Any Result or Enum variant that contains this type is unreachable.
- Parser
Position
Enums§
- Character
Input Error - Error enum for Parsing characters
- Element
- Element in a .properties file
- Parser
Error
Traits§
- Byte
Input - Byte
Output - Byte-based output trait (Poor man’s
std::io::Write) - Character
Input - Character
Output - Into
Char - Helper trait for Into
conversion that also supports &char. - Property
Handler
Functions§
- parse
- Low-level parsing function. Parses a .properties file from a character-based input and invokes a callback handler for each Element of the .properties file that is parsed.
- parse_
bytes_ iso_ 8859_ 1 - Treat the bytes as a ISO-8859-1 string and parse them as a properties file.
- parse_
bytes_ iso_ 8859_ 1_ to_ doc - Treat the bytes as a ISO-8859-1 string and parse them as a properties file.
- parse_
bytes_ iso_ 8859_ 1_ to_ map - Treat the bytes as a ISO-8859-1 string and parse them as a properties file.
- parse_
bytes_ iso_ 8859_ 1_ to_ vec - Treat the bytes as a ISO-8859-1 string and parse them as a properties file.
- parse_
bytes_ utf8 - Treat the bytes as utf-8 and parse them as a properties file.
- parse_
bytes_ utf8_ to_ doc - Treat the bytes as utf-8 and parse them as a properties file.
- parse_
bytes_ utf8_ to_ map - Treat the bytes as utf-8 and parse them as a properties file.
- parse_
bytes_ utf8_ to_ vec - Treat the bytes as utf-8 and parse them as a properties file.
- parse_
chars - Parse the chars as a properties file.
- parse_
chars_ to_ doc - Parse the chars as a properties file.
- parse_
chars_ to_ map - Parse the chars as a properties file.
- parse_
chars_ to_ vec - Parse the chars as a properties file.
- parse_
iso_ 8859_ 1 - Read bytes from a source and treat them as UTF-8 and then parse them as a properties file.
- parse_
iso_ 8859_ 1_ to_ doc - Read bytes from a source and treat them as a ISO-8859-1 String and then parse them as a properties file.
- parse_
iso_ 8859_ 1_ to_ map - Read bytes from a source and treat them as a ISO-8859-1 String and then parse them as a properties file.
- parse_
iso_ 8859_ 1_ to_ vec - Read bytes from a source and treat them as a ISO-8859-1 String and then parse them as a properties file.
- parse_
str - Parse the str as a properties file.
- parse_
str_ to_ doc - Parse the str as a properties file.
- parse_
str_ to_ map - Parse the str as a properties file.
- parse_
str_ to_ vec - Parse the str as a properties file.
- parse_
utf8 - Read bytes from a source and treat them as UTF-8 and then parse them as a properties file.
- parse_
utf8_ to_ doc - Read bytes from a source and treat them as UTF-8 and then parse them as a properties file.
- parse_
utf8_ to_ map - Read bytes from a source and treat them as UTF-8 and then parse them as a properties file.
- parse_
utf8_ to_ vec - Read bytes from a source and treat them as UTF-8 and then parse them as a properties file.
- write
- Serialize a set of elements into a .properties file into some sort of character-based output.
The escaping/charset depends on the implementation of the
CharacterOutput. - write_
ascii - Serialize a set of elements into a .properties file into some sort of byte-based output.
- write_
utf8 - Serialize a set of elements into a .properties file into some sort of byte-based output.