css - How can I use Java to programmaticaly convert an Internal Stylesheet of a web-page to an inline one? -
Is there a ready-made device or utility that already does
You can just open the CSS file and embed your content into an style tag Are there.
This should not be difficult:
Flemmer frcss = new file reader ("your_css.css"); FileReader frHTML = New FileReader ("your_html.html"); Fwire output = new flamer ("result.html");
When you do, style < / Em> tag and copy all content from frCSS . Then, close the style tag and copy frHTML the rest of the part. It is not very good, but it can be done.