- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a sequence of characters that can be quickly matched in a Unicode string
Java wrapper for Qt class QStringMatcher
-
Constructor Summary
ConstructorDescriptionQStringMatcher
(char [] uc) Overloaded constructor forQStringMatcher(char[], io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.QStringMatcher
(char [] uc, int offsetOfUc, int len) Overloaded constructor forQStringMatcher(char[], int, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.QStringMatcher
(char [] uc, int offsetOfUc, int len, Qt.CaseSensitivity cs) Overloaded constructor forQStringMatcher(java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)
.QStringMatcher
(char [] uc, Qt.CaseSensitivity cs) Overloaded constructor forQStringMatcher(java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)
.QStringMatcher
(QStringMatcher other) QStringMatcher
(CharSequence pattern) Overloaded constructor forQStringMatcher(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.QStringMatcher
(CharSequence pattern, Qt.CaseSensitivity cs) QStringMatcher
(String pattern) Overloaded constructor forQStringMatcher(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.QStringMatcher
(String pattern, Qt.CaseSensitivity cs) Overloaded constructor forQStringMatcher(java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStringMatcher other) final void
Overloaded function forassign(io.qt.core.QStringMatcher)
.final Qt.CaseSensitivity
clone()
Creates and returns a copy of this object.final int
indexIn
(char[] str) Overloaded function forindexIn(char[], int)
withfrom = 0
.final int
indexIn
(char[] str, int from) Overloaded function forindexIn(java.nio.CharBuffer, int)
.final int
indexIn
(char[] str, int offsetOfStr, int length) Overloaded function forindexIn(char[], int, int, int)
withfrom = 0
.final int
indexIn
(char[] str, int offsetOfStr, int length, int from) Overloaded function forindexIn(java.nio.CharBuffer, int)
.final int
Overloaded function forindexIn(java.lang.String, int)
withfrom = 0
.final int
final long
final int
indexIn
(CharBuffer str) Overloaded function forindexIn(java.nio.CharBuffer, int)
withfrom = 0
.final int
indexIn
(CharBuffer str, int from) final String
pattern()
final void
final void
setPattern
(String pattern) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStringMatcher
public QStringMatcher() -
QStringMatcher
- Parameters:
pattern
-cs
-
-
QStringMatcher
- Parameters:
other
-
-
QStringMatcher
- Parameters:
pattern
-cs
-- Since:
- This function was introduced in Qt 5.14.
-
QStringMatcher
- Parameters:
uc
-cs
-- Since:
- This function was introduced in Qt 4.5.
-
QStringMatcher
Overloaded constructor for
QStringMatcher(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
QStringMatcher
Overloaded constructor for
QStringMatcher(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
QStringMatcher
Overloaded constructor for
QStringMatcher(java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
QStringMatcher
public QStringMatcher(char [] uc, int offsetOfUc, int len) Overloaded constructor for
QStringMatcher(char[], int, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
QStringMatcher
Overloaded constructor for
QStringMatcher(java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)
. -
QStringMatcher
public QStringMatcher(char [] uc) Overloaded constructor for
QStringMatcher(char[], io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
QStringMatcher
Overloaded constructor for
QStringMatcher(java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)
.
-
-
Method Details
-
caseSensitivity
- Returns:
-
indexIn
- Parameters:
str
-from
-- Returns:
-
indexIn
- Parameters:
str
-from
-- Returns:
- Since:
- This function was introduced in Qt 5.14.
-
indexIn
- Parameters:
str
-from
-- Returns:
- Since:
- This function was introduced in Qt 4.5.
-
assign
- Parameters:
other
-
-
pattern
- Returns:
-
setCaseSensitivity
- Parameters:
cs
-
-
setPattern
- Parameters:
pattern
-
-
clone
Creates and returns a copy of this object.
-
indexIn
Overloaded function for
indexIn(java.lang.String, int)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.CharBuffer, int)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(char[], int, int, int)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.CharBuffer, int)
. -
indexIn
Overloaded function for
indexIn(char[], int)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.CharBuffer, int)
. -
assign
Overloaded function for
assign(io.qt.core.QStringMatcher)
.
-