1 unstable release

Uses old Rust 2015

0.1.0 Aug 10, 2017

#32 in #java-class

Download history 90/week @ 2024-04-04 85/week @ 2024-04-11 117/week @ 2024-04-18 111/week @ 2024-04-25 50/week @ 2024-05-02 104/week @ 2024-05-09 117/week @ 2024-05-16 137/week @ 2024-05-23 183/week @ 2024-05-30 182/week @ 2024-06-06 146/week @ 2024-06-13 122/week @ 2024-06-20 123/week @ 2024-06-27 128/week @ 2024-07-04 112/week @ 2024-07-11 75/week @ 2024-07-18

466 downloads per month
Used in vampire_api

MIT license

81KB
393 lines

A Rust crate to parse the Java Properties file format.

The Properties file format is simple key/value text format that can be read and written by the standard library of Java. It is often used for configuration files, and also for translation files (Bundles).

The Java class that supports this format is java.util.Properties, with its methods load and store. Note that the Java class also provides the methods loadFromXML and storeToXML, but this crate does not support the XML format.

Starting from Java 9, the Properties files used as Resource Bundles are allowed to be utf-8, instead of only latin1 with unicode escapes (JEP 226). This crate does not support JEP 226.

This crate was written based on the Java 8 API reference. As far as the author knows, this crate supports reading the full Properties format with no exception. There is no support to write Properties files, yet.

Dependencies

~1MB
~22K SLoC