org.radrails.db.internal.ui.editors.sql.util
Class WordPartDetector

java.lang.Object
  extended byorg.radrails.db.internal.ui.editors.sql.util.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
equals, 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

getString

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

Returns:
String

getOffset

public int getOffset()