{"id":15494957,"url":"https://github.com/fracpete/list-weka-classes","last_synced_at":"2025-04-04T05:13:40.859Z","repository":{"id":144520038,"uuid":"253161840","full_name":"fracpete/list-weka-classes","owner":"fracpete","description":"Helper library for outputting Weka class hierarchies.","archived":false,"fork":false,"pushed_at":"2020-04-05T08:02:39.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T21:11:27.126Z","etag":null,"topics":["class-list","weka"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fracpete.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":"2020-04-05T05:24:03.000Z","updated_at":"2020-04-05T08:02:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9e5688b-30fd-40cc-95a0-728e05291920","html_url":"https://github.com/fracpete/list-weka-classes","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"46565768a593cc68033b141cbd922f57b3968aa7"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Flist-weka-classes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Flist-weka-classes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Flist-weka-classes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Flist-weka-classes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fracpete","download_url":"https://codeload.github.com/fracpete/list-weka-classes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123087,"owners_count":20887261,"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":["class-list","weka"],"created_at":"2024-10-02T08:15:39.928Z","updated_at":"2025-04-04T05:13:40.828Z","avatar_url":"https://github.com/fracpete.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# list-weka-classes\nHelper library for outputting Weka superclasses or all available Weka subclasses \nof a specified superclass on the current classpath, with or without packages loaded.\n\n## Command-line\n\n```\nListing Weka class hierarchies.\n\n\nUsage: [--help] [-o] [-l] [-s CLASSNAME]\n\nOptions:\n-o, --offline\n\tIf enabled, the package manager is run in offline mode.\n\n-l, --load_packages\n\tIf enabled, packages get loaded before determining the class\n\thierarchies.\n\n-s, --super_class CLASSNAME\n\tThe super class to list the class names for; outputs all super classes\n\tif not supplied.\n```\n\n## Java\n\n```java\nimport com.github.fracpete.lwc.Main;\n\npublic class TestListing {\n  public static void main(String[] args) throws Exception {\n    // determine all superclasses\n    Main main = new Main()\n      .loadPackages(true)\n      .offline(false);\n    String msg = main.execute();\n    if (msg != null)\n      throw new Exception(msg);\n    if (main.getList().isEmpty())\n      throw new Exception(\"No superclasses found!\");\n    // list subclasses of 1st superclass\n    main.superClass(main.getList().get(0));\n    System.out.println(main.getList().get(0) + \":\");\n    msg = main.execute();\n    if (msg != null)\n      throw new Exception(msg);\n    if (main.getList().isEmpty())\n      throw new Exception(\"No subclasses found!\");\n    for (String cls: main.getList())\n      System.out.println(\"- \" + cls);\n  }\n}\n```\n\n## Maven\n\nAdd the following artifact to your dependencies of your `pom.xml`:\n\n```xml\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.fracpete\u003c/groupId\u003e\n      \u003cartifactId\u003elist-weka-classes\u003c/artifactId\u003e\n      \u003cversion\u003e0.0.1\u003c/version\u003e\n    \u003c/dependency\u003e\n```\n\n## Releases\n\nThe following releases are available:\n\n* [0.0.1](https://github.com/fracpete/list-weka-classes/releases/download/list-weka-classes-0.0.1/list-weka-classes-0.0.1.jar)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Flist-weka-classes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffracpete%2Flist-weka-classes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Flist-weka-classes/lists"}