{"id":19009947,"url":"https://github.com/editorconfig/editorconfig-core-java-binding","last_synced_at":"2025-07-16T12:33:17.666Z","repository":{"id":8024221,"uuid":"9433380","full_name":"editorconfig/editorconfig-core-java-binding","owner":"editorconfig","description":"EditorConfig Core Java Binding","archived":false,"fork":false,"pushed_at":"2025-04-21T07:20:40.000Z","size":12,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-22T22:54:05.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://editorconfig.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/editorconfig.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}},"created_at":"2013-04-14T18:35:53.000Z","updated_at":"2025-04-21T07:20:44.000Z","dependencies_parsed_at":"2022-09-13T10:25:30.657Z","dependency_job_id":null,"html_url":"https://github.com/editorconfig/editorconfig-core-java-binding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/editorconfig/editorconfig-core-java-binding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-core-java-binding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-core-java-binding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-core-java-binding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-core-java-binding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/editorconfig","download_url":"https://codeload.github.com/editorconfig/editorconfig-core-java-binding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-core-java-binding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265509466,"owners_count":23779364,"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":"2024-11-08T19:09:21.931Z","updated_at":"2025-07-16T12:33:17.652Z","avatar_url":"https://github.com/editorconfig.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EditorConfig Java Binding\n\nThis directory is for [EditorConfig][] Core Java Binding. This binding is a\nJava binding for [EditorConfig Python Core][], made possible by [Jython][].\n\n**NOTE:** This java binding has been obsoleted. Please use\n[EditorConfig Java Core][] instead.\n\n## EditorConfig Project\n\nEditorConfig makes it easy to maintain the correct coding style when switching\nbetween different text editors and between different projects.  The\nEditorConfig project maintains a file format and plugins for various text\neditors which allow this file format to be read and used by those editors.  For\ninformation on the file format and supported text editors, see the\n[EditorConfig website][EditorConfig].\n\n## Build the Library and Generate the Doc\n\nFirst be sure that the submodule is initialized:\n\n    cd /path/to/editorconfig-core-java-binding\n    git submodule init\n    git submodule update\n\nWith [Ant][]:\n\n    ant \u0026\u0026 ant doc\n\nThe built jar file is in the `build` directory and the documentation is in the\n`doc` directory.\n\n## Use as a Library\n\nA basic example:\n\n```java\nEditorConfig ec = new EditorConfig();\nList\u003cEditorConfig.OutPair\u003e l = null;\ntry {\n    l = ec.getProperties(\"/home/user/src/editorconfig-core-py/a.py\");\n} catch(EditorConfigException e) {\n    System.out.println(e);\n    System.exit(1);\n}\n\nfor(int i = 0; i \u003c l.size(); ++i) {\n    System.out.println(l.get(i).getKey() + \"=\" + l.get(i).getVal());\n}\n```\n\nA more complex example is in the `example` directory. There is an\n[online documentation][] for API details, or you could run `ant doc` to\ngenerate html documentation. The generated documentation will locate in `doc`\ndirectory.\n\n## License\n\nAll source files of the Java binding are distributed under the PSF license. See\nLICENSE.txt for details.\n\nCopyright (C) 2012-2013, EditorConfig Team\n\n[Ant]: http://ant.apache.org\n[EditorConfig Java Core]: https://github.com/editorconfig/editorconfig-core-java\n[EditorConfig Python Core]: https://github.com/editorconfig/editorconfig-core-py\n[EditorConfig]: https://editorconfig.org\n[Jython]: http://www.jython.org\n[online documentation]: http://javadocs.editorconfig.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feditorconfig%2Feditorconfig-core-java-binding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feditorconfig%2Feditorconfig-core-java-binding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feditorconfig%2Feditorconfig-core-java-binding/lists"}