I'd recommend using the Jakarta Velocity template engine for this. -Richard At 12:24 PM 2/26/2002 -0800, you wrote: >please help me out > >Functionality: > >Input is a Template file>>we have to put into buffer>> >inserting the data respective positions/ manipulation >of template > > > >Following methods needs to put in generic class for >manipulation. > > >1) loadFile(p_FilePath As String) :Loading the file >into buffer >2) saveFile(p_FilePath As String) : to save the >document in Respective file path >3) Insert()to insert the data in respective location >4) ReplaceText(ByVal p_Find As String, _ ByVal >p_Replace As String) : to replace patterns with Values >5) Find(ByVal p_Text As String): for finding >particular patter >6) SelectAll(): for selecting all document in string >7) SelectRange(Optional ByVal p_Start As Integer = 1, >_ Optional ByVal p_End As Integer = 0) >8) SelectTaggedText(ByVal p_StartTag As String, ByVal >p_EndTag As String) >9) SelectOff() >10) Cut() : to cut the selected area >11) Delete(Optional ByVal p_TextPattern As String = >""): to delete the data in located araea >12) Paste() : it has to paste at Cursor position >13) MoveCursor(p_CursorLocation As Integer): it has to >select the cursor position > > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Greetings - Send FREE e-cards for every occasion! >http://greetings.yahoo.com > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
