简体   繁体   English

我怎样才能使用Guava来浏览HTML实体?

[英]How can I unescape HTML entities using Guava?

I can't seem to find the right documentation for this. 我似乎无法为此找到合适的文档。 Apache has an unescapeHtml method and im sure Guava has a similar method. Apache有一个unescapeHtml方法,我确信Guava有一个类似的方法。

Needing to "manually" unescape anything is usually a strong sign that you are not using a proper tool/framework that will serve your needs at a higher level. 需要“手动”取消任何东西通常都是一个强有力的信号,表明您没有使用适当的工具/框架来满足您更高层次的需求。 What are you trying to do? 你想做什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM