palmed.edit.text
Class LineBuilder

java.lang.Object
  extended by palmed.edit.text.LineBuilder
All Implemented Interfaces:
ILineExtractor

public final class LineBuilder
extends java.lang.Object
implements ILineExtractor

This class implements a line extractor to build the corresponding text.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
LineBuilder(java.lang.StringBuffer buffer)
          Create a line builder.
 
Method Summary
 void select(IText text, int line)
          Notify a text matches the search criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineBuilder

public LineBuilder(java.lang.StringBuffer buffer)
Create a line builder.

Parameters:
buffer - the buffer to add the text to
Method Detail

select

public void select(IText text,
                   int line)
Notify a text matches the search criteria.

Specified by:
select in interface ILineExtractor
Parameters:
text - the text
line - the line number relative to the text


Copyright © 2004-2006 PalmEd. All Rights Reserved.