{"id":22831682,"url":"https://github.com/danilodeluca/linebuilder","last_synced_at":"2025-03-31T01:50:52.773Z","repository":{"id":88562317,"uuid":"42276795","full_name":"danilodeLuca/lineBuilder","owner":"danilodeLuca","description":"Its a simple way to create lines, when you need to set variables in certain \"index of the line\", easy to use. Feel free to open issues and request a PR!!","archived":false,"fork":false,"pushed_at":"2017-12-13T15:25:15.000Z","size":12,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T07:13:27.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danilodeLuca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-09-10T23:47:22.000Z","updated_at":"2017-11-21T12:10:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"78434aaf-8c16-44f2-b014-8f0ee1530d20","html_url":"https://github.com/danilodeLuca/lineBuilder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2FlineBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2FlineBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2FlineBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2FlineBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danilodeLuca","download_url":"https://codeload.github.com/danilodeLuca/lineBuilder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403903,"owners_count":20771527,"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-12-12T20:29:51.100Z","updated_at":"2025-03-31T01:50:52.742Z","avatar_url":"https://github.com/danilodeLuca.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple linebuilder.\n\nCheckout tests to see how it works, its not difficult!!\n\n\n## Example:\n1. Simple line with 1 column and 4 lenght character\n\n\n``` java\n    String build = new LineBuilder(4)\n                      .column(\"test\").at(1, 4).value(\"test\")\n                      .build();\n```\n  \n  Result: \n``` java \n    Assert.assertEquals(\"test\", build);\n```\n\n\n2. Line with 2 columns and 9 lenght character\n  \n``` java\n    String build = new LineBuilder(9)\n                      .column(\"test\").at(1, 4).value(\"test\")\n                      .column(\"test2\").at(5, 9).value(\"test2\")\n                      .build();\n```\n  \n  Result:\n``` java\n  Assert.assertEquals(\"testtest2\", build);\n```\n \n \n3. Line with 1 columns and 4 lenght character and defined a complementer to left that will not be used\n  \n``` java\n    String build = new LineBuilder(4)\n                      .complementColumn(Complementer.onLeft(\"|\"))\n                      .column(\"test\").at(1, 4).value(\"test\")\n                      .build();\n```\n  \n  Result:\n``` java\n  Assert.assertEquals(\"test\", build);\n```\n \n \n4. Line with 1 columns and 5 lenght character and defined a complementer to left that will be used\n  \n``` java\n    String build = new LineBuilder(5)\n                      .complementColumn(Complementer.onLeft(\"|\"))\n                      .column(\"test\").at(1, 5).value(\"test\")\n                      .build();\n```\n  \n  Result:\n``` java\n    Assert.assertEquals(\"|test\", build);\n```\n\n\n5. Line with 1 columns and 5 lenght character and defined a complementer to right that will be used\n  \n``` java\n    String build = new LineBuilder(5)\n                      .complementColumn(Complementer.onRight(\"|\"))\n                      .column(\"test\").at(1, 5).value(\"test\")\n                      .build();\n```\n  \n  Result:\n  ``` java\n      Assert.assertEquals(\"test|\", build);\n  ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilodeluca%2Flinebuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilodeluca%2Flinebuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilodeluca%2Flinebuilder/lists"}