Репозиторий Sisyphus
Последнее обновление: 4 марта 2021 | Пакетов: 17846 | Посещений: 20396376
en ru br
Репозитории ALT
S:0.8.5-alt1_4jpp8
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: openprops

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Текущая версия: 0.8.5-alt1_4jpp8
Время сборки: 25 мая 2019, 23:19 ( 92.8 недели назад )
Размер архива: 104.69 Kb

Домашняя страница:   https://github.com/zanata/openprops

Лицензия: GPLv2 with exceptions
О пакете: An improved java.util.Properties from OpenJDK
Описание:

OpenProps is a tiny Java library which reads and writes .properties files
using the same code as java.util.Properties from the OpenJDK, but enhanced so
that it preserves the order of entries within the file, and it also preserves
comments in the file.
This means that a Properties editor or a file converter written to use
OpenProps won't have to lose comments or mess up the order of entries.

By using OpenJDK code, OpenProps should handle all the old corner-cases in
exactly the same way Java does.  The handling of whitespace and comments is
tested by a number of JUnit tests.  But please let me know if you find a bug!

Note the following differences from java.util.Properties:

1. preserves comments and the order of entries in the file
2. storeToXml doesn't use the Sun DTD (or any DTD) because it adds attributes
  for comments.
3. equals() and hashCode() won't work the same way as with java.util.Properties,
  because they are no longer inherited from Hashtable.
  All you get is identity equality/hashcode.

Also note that any header comment in the .properties file will be interpreted as
a comment attached to the first message.

Текущий майнтейнер: Igor Vlasenko

Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета:

Список rpm-пакетов, предоставляемый данным srpm-пакетом:

  • openprops
  • openprops-javadoc
ACL:
     
    дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    текущий майнтейнер: Michael Shigorin