Java Text Parser with customized open and closing tags? -


I'm looking for a simple Java text parser that parses a piece of text like an XML SAX parser, But the customized open and closed tag instead of "& lt;" I have to deal with "["

What can I use, or do I have to do something? Example text:

  [hlpLnk key = hlpId] some text and [LNK key = purses] products [/ lnk] and some more text [/ hlpLnk]  
< I found this parser on JavaWorld: It's easy, what I want, only requires some refactoring, cleanup and testing.

/ P>

And the Nano XML parser source looks useful: clean, small, easy to read. With some changes I can use it I think (there is a lot in projects like Xerces / not required)


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -