Java CSS解析器 [英] CSS Parser in Java

查看:184
本文介绍了Java CSS解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有

如果不存在这样的解析器,有哪些选项?

也许可能对您有帮助? /p>

Is there anything like Jsoup but instead of parsing HTML, I need to parse CSS, is there a parser similar to that that will create a Document model of a CSS? That perhaps can be used to iterate to nodes?

What I need to do is to find and replace "url" in the CSS file. And with html this is quite easy with Jsoup. However I am not sure if this will be possible with CSS.

If there are no such parser exist what are the options?

解决方案

Perhaps this might help you?

这篇关于Java CSS解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆