Results 1 to 6 of 6
  1. #1
    jayragz is offline Member
    Join Date
    Apr 2011
    Posts
    35
    Rep Power
    0

    Default Parsing css files in java

    Hey there,
    I would really appreciate anyone who could help me parse and edit css files in java.

    Thanks in advance.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,559
    Rep Power
    25

    Default Re: Parsing css files in java

    Post your code and your questions and someone will try to help.

  3. #3
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Parsing css files in java

    I would use Regex. You could match names and curly braces and perform more detailed parsing on a class by class basis.

  4. #4
    jayragz is offline Member
    Join Date
    Apr 2011
    Posts
    35
    Rep Power
    0

    Default Re: Parsing css files in java

    I'm looking for a java plugin(if it exists) that can parse css files and can be added to my code. I don't have any problem with the code I currently have. Would really appreciate it if u could offer assistance in finding any existing plugin.

  5. #5
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Parsing css files in java


  6. #6
    jayragz is offline Member
    Join Date
    Apr 2011
    Posts
    35
    Rep Power
    0

    Default Re: Parsing css files in java

    Thank you both for the assistance. I decided to use regex since I didn't need the contents of the entire css file and plus The CSS Parser Project does not have that much documentation and/or support.

    Thanx again.

Similar Threads

  1. Parsing Txt and XML files.
    By Sobutai in forum New To Java
    Replies: 5
    Last Post: 05-09-2011, 04:38 AM
  2. Parsing lnk files in windows
    By raysod in forum Advanced Java
    Replies: 2
    Last Post: 11-05-2010, 06:39 PM
  3. Parsing Text Files
    By coder09 in forum New To Java
    Replies: 6
    Last Post: 02-18-2009, 12:08 PM
  4. Parsing MIDI files
    By rsk8332 in forum Advanced Java
    Replies: 1
    Last Post: 01-21-2008, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •