com.ibm.lab.soln.sqleditor.utils
Class WordPartDetector

java.lang.Object
  |
  +--com.ibm.lab.soln.sqleditor.utils.WordPartDetector

public class WordPartDetector
extends java.lang.Object

Used to scan and detect for SQL keywords


Constructor Summary
WordPartDetector(org.eclipse.jface.text.ITextViewer viewer, int documentOffset)
          Method WordPartDetector.
 
Method Summary
 int getOffset()
           
 java.lang.String getString()
          Method getString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordPartDetector

public WordPartDetector(org.eclipse.jface.text.ITextViewer viewer,
                        int documentOffset)
Method WordPartDetector.
Parameters:
viewer - is a text viewer
documentOffset - into the SQL document
Method Detail

getOffset

public int getOffset()

getString

public java.lang.String getString()
Method getString.
Returns:
String