Given the file containing this:
[upper] a = A b = B [words] 1 = one 2 = two
How do I access these keys / values with reference to their headers? The Java Properties () class processes files without partitions.
Use the ini4j library (associated with the tutorial): http://ini4j.sourceforge.net/tutorial/
If you're a fan of the Apache Commons offerings, they only have a library for you: Commons Configuration . Commons Configuration reads many more formats than .INI style files.
Source: https://habr.com/ru/post/1765145/More articles:Python review and threading question - pythonImage Orientation UIImagePickerController - iphoneКруиз-контроль .net: использование пакетов и отображение результатов NUnit - cruisecontrol.netCan someone tell me what "XThrowIfError" does? - iphoneIs this authorization system reliable enough? - securityJSF: weird behavior when clear inputTextArea with ajax - jsfFirst non-repeating char in string? in haskell or F # - algorithmРедактирование коллективного кода - version-controlComboBox data binding update in C # and .NET 4.0 - c #How to optimize this linq query? - optimizationAll Articles