HtmlFormatter:一个纯净的Java便利类,用于将String格式化为HTML字符串

上传者: 42146274 | 上传时间: 2024-05-23 14:10:31 | 文件大小: 69KB | 文件类型: ZIP
HtmlFormatter 一个纯Java便利类,用于将String格式化为Html String。 它旨在与Android一起使用,但是由于它是纯Java,因此在Android领域之外应该可以正常使用,但是我不确定是否存在这种用例。 例子 。小的() String input = "This is a small string"; String result = HtmlFormatter.from(input).small().getHtmlString(); System.out.println(result); // ----- output ----- // This is a small string .bold()或.strong() input = "This is a bold string"; result = HtmlFormatt

文件下载

资源详情

[{"title":"( 19 个子文件 69KB ) HtmlFormatter:一个纯净的Java便利类,用于将String格式化为HTML字符串","children":[{"title":"HtmlFormatter-master","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"html_formatter_library","children":[{"title":"html_formatter_library.iml <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"github","children":[{"title":"worker8","children":[{"title":"HtmlFormatter.java <span style='color:#111;'> 902B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 873B </span>","children":null,"spread":false}],"spread":true},{"title":"Sample","children":[{"title":"Sample.iml <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"DemoMain.java <span style='color:#111;'> 712B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gradle","children":[{"title":"2.2","children":[{"title":"taskArtifacts","children":[{"title":"fileHashes.bin <span style='color:#111;'> 21.94KB </span>","children":null,"spread":false},{"title":"cache.properties.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"taskArtifacts.bin <span style='color:#111;'> 33.12KB </span>","children":null,"spread":false},{"title":"fileSnapshots.bin <span style='color:#111;'> 58.63KB </span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"outputFileStates.bin <span style='color:#111;'> 18.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 49.81KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 246B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明