{"id":23814073,"url":"https://github.com/notjustanna/properties","last_synced_at":"2025-07-16T11:05:31.139Z","repository":{"id":60078227,"uuid":"141284803","full_name":"NotJustAnna/properties","owner":"NotJustAnna","description":"Clean version of java.util.Properties, using new stuff like HashMaps and Generics.","archived":false,"fork":false,"pushed_at":"2023-11-30T13:36:14.000Z","size":207,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-02T03:46:17.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NotJustAnna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-17T12:10:17.000Z","updated_at":"2022-09-23T02:02:47.000Z","dependencies_parsed_at":"2024-05-02T16:23:07.507Z","dependency_job_id":"b5c3f628-a3f4-42d8-91bb-455550a1bfb4","html_url":"https://github.com/NotJustAnna/properties","commit_stats":null,"previous_names":["notjustanna/properties","annathelibri/properties"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotJustAnna%2Fproperties","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotJustAnna%2Fproperties/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotJustAnna%2Fproperties/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotJustAnna%2Fproperties/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotJustAnna","download_url":"https://codeload.github.com/NotJustAnna/properties/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079637,"owners_count":19744725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-02T03:46:22.900Z","updated_at":"2025-02-21T20:16:35.231Z","avatar_url":"https://github.com/NotJustAnna.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Properties\n\nProperties is a simple, clean implementation of java.util.Properties, using new stuff like ConcurrentHashMaps and Generics.\nIt is a drop-in replacement for java.util.Properties, and is fully compatible with it.\n\n### Installation\n\n[![Latest Version](https://maven.notjustanna.net/api/badge/latest/releases/net/notjustanna/properties?color=40c14a\u0026name=Maven\u0026prefix=v)](https://maven.notjustanna.net/releases/net/notjustanna/properties)\n\n#### Maven\n\n```xml\n\u003crepository\u003e\n    \u003cid\u003enotjustanna-repository-releases\u003c/id\u003e\n    \u003cname\u003eNotJustAnna Repository\u003c/name\u003e\n    \u003curl\u003ehttps://maven.notjustanna.net/releases\u003c/url\u003e\n\u003c/repository\u003e\n```\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003enet.notjustanna\u003c/groupId\u003e\n    \u003cartifactId\u003eproperties\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Gradle Groovy\n\n```groovy\nmaven {\n    url \"https://maven.notjustanna.net/releases\"\n}\n```\n\n```groovy\ndependencies {\n    implementation \"net.notjustanna:properties:1.0.0\"\n}\n```\n\n#### Gradle Kotlin\n\n```kotlin\nmaven {\n    url = uri(\"https://maven.notjustanna.net/snapshots\")\n}\n```\n\n```kotlin\ndependencies {\n    implementation(\"net.notjustanna:properties:1.0.0\")\n}\n```\n\n#### SBT\n\n```scala\nresolvers +=\n  \"notjustanna-repository-releases\" \n     at \"https://maven.notjustanna.net/releases\"\n```\n    \n```scala\nlibraryDependencies += \"net.notjustanna\" % \"properties\" % \"1.0.0\"\n```\n\n### Usage\n\n#### Reading:\n\n```java\n// New Instance\nProperties properties = new Properties();\n\n// Load from File\nProperties properties = Properties.fromFile(file);\n\n//Load from String\nProperties properties = Properties.fromString(\"url=localhost\\nport=8080\");\n```\n\n#### Writing:\n\n```java\n// Save as String\nString toString = properties.storeToString(\"Test Properties\");\n\n// Write to file\nproperties.store(file, \"Test Properties\");\n\n// Write to a writer\nproperties.store(writer, \"Test Properties\");\n```\n\n## License\n\nThe project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotjustanna%2Fproperties","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotjustanna%2Fproperties","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotjustanna%2Fproperties/lists"}