aspose file tools*
The moose likes Beginning Java and the fly likes CSS Parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "CSS Parser" Watch "CSS Parser" New topic
Author

CSS Parser

Surya Kant
Ranch Hand

Joined: Mar 29, 2005
Posts: 104
Hello All,
Currently i am working on a project where i want to read(parse) css file in java and store the values in hashmap or some data structure.
Does anyone know how to parse css file?

Regards,
Surya
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
This is more related to the serverside porion. Moving to JIG Beg.

See the click here link above if viewing in the HTML/JavaScript forum.

Eric
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14269
    
  21

Try using Google to search for "java css parser" and you'll find a whole list of useful links. Have a look at http://cssparser.sourceforge.net/ for example.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Surya Kant
Ranch Hand

Joined: Mar 29, 2005
Posts: 104
Hey all,
I found solution for my problem.I used following packages for my problem..
javax.swing.text.Style;
javax.swing.text.html.StyleSheet;

Regards,
Surya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CSS Parser