- 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 long
indexIn
(char[] str) Overloaded function forindexIn(char[], long)
withfrom = 0
.final long
indexIn
(char[] str, int offsetOfStr, int length) Overloaded function forindexIn(char[], int, int, long)
withfrom = 0
.final long
indexIn
(char[] str, int offsetOfStr, int length, long from) Overloaded function forindexIn(java.nio.CharBuffer, long)
.final long
indexIn
(char[] str, long from) Overloaded function forindexIn(java.nio.CharBuffer, long)
.final long
indexIn
(CharSequence str) Overloaded function forindexIn(java.lang.CharSequence, long)
withfrom = 0
.final long
indexIn
(CharSequence str, long from) final long
final long
indexIn
(CharBuffer str) Overloaded function forindexIn(java.nio.CharBuffer, long)
withfrom = 0
.final long
indexIn
(CharBuffer str, long from) final String
pattern()
final String
Deprecated.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
-
-
QStringMatcher
- Parameters:
uc
-cs
-
-
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:
-
indexIn
- Parameters:
str
-from
-- Returns:
-
assign
- Parameters:
other
-
-
pattern
- Returns:
- Since:
- This function was introduced in Qt 6.7.
-
setCaseSensitivity
- Parameters:
cs
-
-
setPattern
- Parameters:
pattern
-
-
clone
Creates and returns a copy of this object.
-
indexIn
Overloaded function for
indexIn(java.lang.CharSequence, long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.CharBuffer, long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(char[], int, int, long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.CharBuffer, long)
. -
indexIn
Overloaded function for
indexIn(char[], long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.CharBuffer, long)
. -
assign
Overloaded function for
assign(io.qt.core.QStringMatcher)
. -
patternView
Deprecated.Usepattern()
instead.
-
pattern()
instead.