tags:

views:

62

answers:

2

Is there a Java API that can be used to generate CSS?

A: 

I can't seem to find one. However, if you look around, you can find plenty of tools that will generate CSS for you, some of which are written in Java. So, in effect, you could just use one of those tools and then insert the generated CSS into whatever you wanted to use it in, or you could find a good project on sourceforge and reverse engineer it, or better yet, take a look at their source code, and create your own API out of it (and then, why not, post it online for everyone else!)

Alex Hart
+2  A: 

Why dont just write flat text file?

Mike