Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSS Parser

 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic