org.kde.qt
Class QRegExp

java.lang.Object
  extended by org.kde.qt.QRegExp
All Implemented Interfaces:
QtSupport

public class QRegExp
extends java.lang.Object
implements QtSupport


Field Summary
static int CaretAtOffset
           
static int CaretAtZero
           
static int CaretWontMatch
           
 
Constructor Summary
  QRegExp()
           
protected QRegExp(java.lang.Class dummy)
           
  QRegExp(QRegExp rx)
           
  QRegExp(java.lang.String pattern)
           
  QRegExp(java.lang.String pattern, boolean caseSensitive)
           
  QRegExp(java.lang.String pattern, boolean caseSensitive, boolean wildcard)
           
 
Method Summary
 java.lang.String cap()
           
 java.lang.String cap(int nth)
           
 java.util.ArrayList capturedTexts()
           
 boolean caseSensitive()
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
 java.lang.String errorString()
           
static java.lang.String escape(java.lang.String str)
           
 boolean exactMatch(java.lang.String str)
           
protected  void finalize()
          Deletes the wrapped C++ instance
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isEmpty()
           
 boolean isValid()
           
 int match(java.lang.String str)
           
 int match(java.lang.String str, int index)
           
 int match(java.lang.String str, int index, int[] len)
           
 int match(java.lang.String str, int index, int[] len, boolean indexIsStart)
           
 int matchedLength()
           
 boolean minimal()
           
 int numCaptures()
           
 boolean op_equals(QRegExp rx)
           
 boolean op_not_equals(QRegExp rx)
           
 java.lang.String pattern()
           
 int pos()
           
 int pos(int nth)
           
 int search(java.lang.String str)
           
 int search(java.lang.String str, int offset)
           
 int search(java.lang.String str, int offset, int caretMode)
           
 int searchRev(java.lang.String str)
           
 int searchRev(java.lang.String str, int offset)
           
 int searchRev(java.lang.String str, int offset, int caretMode)
           
 void setCaseSensitive(boolean sensitive)
           
 void setMinimal(boolean minimal)
           
 void setPattern(java.lang.String pattern)
           
 void setWildcard(boolean wildcard)
           
 boolean wildcard()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CaretAtZero

public static final int CaretAtZero
See Also:
Constant Field Values

CaretAtOffset

public static final int CaretAtOffset
See Also:
Constant Field Values

CaretWontMatch

public static final int CaretWontMatch
See Also:
Constant Field Values
Constructor Detail

QRegExp

protected QRegExp(java.lang.Class dummy)

QRegExp

public QRegExp()

QRegExp

public QRegExp(java.lang.String pattern,
               boolean caseSensitive,
               boolean wildcard)

QRegExp

public QRegExp(java.lang.String pattern,
               boolean caseSensitive)

QRegExp

public QRegExp(java.lang.String pattern)

QRegExp

public QRegExp(QRegExp rx)
Method Detail

op_equals

public boolean op_equals(QRegExp rx)

op_not_equals

public boolean op_not_equals(QRegExp rx)

isEmpty

public boolean isEmpty()

isValid

public boolean isValid()

pattern

public java.lang.String pattern()

setPattern

public void setPattern(java.lang.String pattern)

caseSensitive

public boolean caseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean sensitive)

wildcard

public boolean wildcard()

setWildcard

public void setWildcard(boolean wildcard)

minimal

public boolean minimal()

setMinimal

public void setMinimal(boolean minimal)

exactMatch

public boolean exactMatch(java.lang.String str)

match

public int match(java.lang.String str,
                 int index,
                 int[] len,
                 boolean indexIsStart)

match

public int match(java.lang.String str,
                 int index,
                 int[] len)

match

public int match(java.lang.String str,
                 int index)

match

public int match(java.lang.String str)

search

public int search(java.lang.String str,
                  int offset,
                  int caretMode)

search

public int search(java.lang.String str,
                  int offset)

search

public int search(java.lang.String str)

searchRev

public int searchRev(java.lang.String str,
                     int offset,
                     int caretMode)

searchRev

public int searchRev(java.lang.String str,
                     int offset)

searchRev

public int searchRev(java.lang.String str)

matchedLength

public int matchedLength()

numCaptures

public int numCaptures()

capturedTexts

public java.util.ArrayList capturedTexts()

cap

public java.lang.String cap(int nth)

cap

public java.lang.String cap()

pos

public int pos(int nth)

pos

public int pos()

errorString

public java.lang.String errorString()

escape

public static java.lang.String escape(java.lang.String str)

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?