{"id":19055176,"url":"https://github.com/sangupta/jerry-core","last_synced_at":"2025-04-24T04:16:40.980Z","repository":{"id":13935559,"uuid":"16635253","full_name":"sangupta/jerry-core","owner":"sangupta","description":"Common Java functionality for core functionality","archived":false,"fork":false,"pushed_at":"2024-12-24T02:42:22.000Z","size":928,"stargazers_count":6,"open_issues_count":23,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T04:16:35.275Z","etag":null,"topics":["convenience-functions","java","utility-library"],"latest_commit_sha":null,"homepage":"https://sangupta.com/projects/jerry-core","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sangupta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2014-02-08T03:50:38.000Z","updated_at":"2023-01-31T13:50:23.000Z","dependencies_parsed_at":"2024-12-24T03:36:24.222Z","dependency_job_id":"51e5b836-a740-4071-ac49-115ada32efb5","html_url":"https://github.com/sangupta/jerry-core","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fjerry-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fjerry-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fjerry-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fjerry-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sangupta","download_url":"https://codeload.github.com/sangupta/jerry-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560057,"owners_count":21450173,"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":["convenience-functions","java","utility-library"],"created_at":"2024-11-08T23:42:28.384Z","updated_at":"2025-04-24T04:16:40.934Z","avatar_url":"https://github.com/sangupta.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jerry-core\n\n[![Travis](https://img.shields.io/travis/sangupta/jerry-core.svg)](https://travis-ci.org/sangupta/jerry-core)\n[![Coveralls](https://img.shields.io/coveralls/sangupta/jerry-core.svg)](https://coveralls.io/github/sangupta/jerry-core)\n[![license](https://img.shields.io/github/license/sangupta/jerry-core.svg)](https://choosealicense.com/licenses/apache-2.0/)\n[![Maven Central](https://img.shields.io/maven-central/v/com.sangupta/jerry-core.svg)](https://search.maven.org/search?q=g:com.sangupta%20AND%20a:jerry-core\u0026core=gav)\n\nCommon Java functionality for core functionality.\n\n`jerry-core` is a module library for the uber `jerry` library project. This module provides core functionality \nas static helper utility classes that can help reduce the boiler plate code when making even a simple Java\napplication. \n\nThe core idea of the project is to include all basic functionality that is always used in a normal project. The project\ndoes not aim to replace the `Apache Commons` framework but only extend it to include the otherwise useful functions and\nmethods that are missing in there.\n\n_History:_ Ages ago, the project forked from the `https://github.com/sangupta/jerry` project, when all utility classes were extracted\nout into the `jerry-core` project.\n\nThe library is tested on the following JDK versions:\n\n* Oracle JDK 8, 9, 11, 13\n* Open JDK 8, 9, 10, 11, 12, 13\n\n## Change Log\n\n[Release Notes](https://github.com/sangupta/jerry-core/blob/master/RELEASE-NOTES.md) are available here.\n\n## Features\n\n\n* Base62 encoder to create short urls\n* Base64 encoder\n* HTTP status code constants\n* Utility to work with com.sun.misc.Unsafe \n* **ArchiveUtils** - methods to unpack ZIP/TAR/GZ files\n* **AssertUtils** - assertion methods\n* **CompressionUtils** - compress/decompress byte arrays in memory\n* **ConsoleUtils** - read stuff from Console or Standard input\n* **DateUtils** - function to work with java.util.Date objects\n* **DomUtils** - convenience functions to work with JDOM \n* **EqualUtils** - check whether objects are equal or not\n* **GsonUtils** - static singleton Google Guava Gson objects \n* **HashUtils** - compute various hashes - MD5, SHA-*, HMAC-SHA etc\n* **HtmlUtils** - convenience functions for working with HTML DOM\n* **ReflectionUtils** - common functionality around Java reflection\n* **StringUtils** - basic string functions\n* **TimeDurationUtils** - compute string represented duration between different times\n* **UriUtils** - function to work with URI - encodeUriComponent/decode etc\n* **UrlCanonicalizer** - basic URL canonicalizer\n* **UrlManipulator** - url builder/manipulator that helps in composing/decomposing/replacing various url pieces\n* **XmlUtils** - functions to extract XML values without parsing\n* **XStreamUtils** - provides singleton XStream instances\n* **ZipUtils** - zip entire folder, extract given file from ZIP etc\n\n## Downloads\n\nThe latest released library can be downloaded from Maven Central using:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.sangupta\u003c/groupId\u003e\n    \u003cartifactId\u003ejerry-core\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nThe current development snapshot `JAR` can be obtained using `JitPack.io` as:\n\nAdd the following `repository` to Maven,\n\n```xml\n\u003crepository\u003e\n\t\u003cid\u003ejitpack.io\u003c/id\u003e\n\t\u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\u003c/repository\u003e\n```\n\nThen add the dependency as,\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.sangupta\u003c/groupId\u003e\n    \u003cartifactId\u003ejerry-core\u003c/artifactId\u003e\n    \u003cversion\u003e-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Versioning\n\nFor transparency and insight into our release cycle, and for striving to maintain backward compatibility, \n`jerry-core` will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the follow format:\n\n`\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`\n\nAnd constructed with the following guidelines:\n\n* Breaking backward compatibility bumps the major\n* New additions without breaking backward compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit http://semver.org/.\n\n## License\n\t\n```\njerry - Common Java Functionality\nCopyright (c) 2012-2019, Sandeep Gupta\n\nhttps://sangupta.com/projects/jerry-core\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangupta%2Fjerry-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsangupta%2Fjerry-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangupta%2Fjerry-core/lists"}