DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004

    HTML support (for java)

    I think I heard or saw before that Java has a class that can read html code. Much like how iTunes uses an XML scripted file to maintain its database, I want to do a similar thing in my program using the html support. Anyone point me in a direction here?

  2. #2
    Join Date
    Aug 2004
    i forgot what they are called, but java can read variables in the htmlcode.
    ie. you can have a set code and change it on a per webpage setting

  3. #3
    Join Date
    Mar 2004
    I think I was making this too difficult. The html document, when viewed in a browser, would show a list of all the songs(artist, title, etc..) in the user's database. That same file would be used by the program to know what songs are available and what they are. Since its rather short and simple html syntax, I could probably just write my own simple parser, so long as the user doesn't feel the need to edit the html file and add other tags i have supported.

    I found a snippet that parses a Netscape Bookmarks file, and loads it into a JTree. I think I can work this out. But if anyone has further info, dont let this stop you from posting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.