<div class="container">
<div class="row">
<form role="form">
<div class="tablecontainer">
</div>
</form>
</div>
</div>
嗨,有什么工具或快捷方式可用于将上述内容存储到Java String中。手工做是完全疲倦。这是一个小代码。有机会有更多的线路。我以为是通过message.properties做的。但是格式不正确。所以我又要格式化,并使其变成单行。再次感到疲倦。而且由于某些问题,我无法使用Java文件读取。
Googlinghtml to java constant online
很快就提供了此在线工具:http : //www.htmlescape.net/javaescape_tool.html,这反过来又为您生成了此工具:
String s="<div class=\"container\">\n <div class=\"row\">\n <form role=\"form\">\n <div class=\"tablecontainer\">\n </div>\n </form>\n </div>\n </div>";
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句