Results 1 to 5 of 5
  1. #1
    magnum99 is offline Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Post Custom Text Parser

    Hello,

    I'm searching for a Text Parser, where I can give him my custom Strings/tags, for which he should search for. And then it should build some File Structure or something like that (like tree view).

    Example:
    input text: some text some text <myTableTag><myRowTag><myColumnTag>column1</myColumnTag></myRowTag></myTableTag>

    and the file structure:
    element 1: some text some text
    element 2: Table-Object

    my question is, if you know any parsers that can do this ?

    Thank you for replies in advance

  2. #2
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    Try BPWJ (Building Parsers With Java) from sourceforge. Its the same name as the book, also by the same author, which explains how to use the api.

    It's slow compare to using lexers, but really flexible.
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

  3. #3
    magnum99 is offline Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Default

    Thank you for your reply, I will try this out.

  4. #4
    stevemilw is offline Member
    Join Date
    Jul 2009
    Posts
    6
    Rep Power
    0

    Default

    bloody post count, why does it hjave to be 5

  5. #5
    Singing Boyo is offline Senior Member
    Join Date
    Mar 2009
    Posts
    552
    Rep Power
    6

    Default

    Please do not post just to change your post count. It generates spam and is quite distracting.
    If the above doesn't make sense to you, ignore it, but remember it - might be useful!
    And if you just randomly taught yourself to program, well... you're just like me!

Similar Threads

  1. Replies: 0
    Last Post: 07-07-2009, 07:22 AM
  2. [SOLVED] Text Parser
    By karthik7974 in forum New To Java
    Replies: 20
    Last Post: 04-22-2008, 11:18 AM
  3. XML Parser
    By samfuerte in forum XML
    Replies: 1
    Last Post: 07-14-2007, 05:14 PM
  4. Parser
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 08:08 AM
  5. DKP Log Parser 1.4.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-25-2007, 09:49 AM

Tags for this Thread

Posting Permissions

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