[−]Struct jni_android_sys::java::util::regex::Matcher
public final class Matcher
Required feature: "java-util-regex-Matcher"
Methods
impl Matcher
pub fn pattern<'env>(
&'env self
) -> Result<Option<Local<'env, Pattern>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Pattern>>, Local<'env, Throwable>>
Required features: "java-util-regex-Pattern"
pub fn toMatchResult<'env>(
&'env self
) -> Result<Option<Local<'env, MatchResult>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MatchResult>>, Local<'env, Throwable>>
Required features: "java-util-regex-MatchResult"
pub fn usePattern<'env>(
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-util-regex-Matcher", "java-util-regex-Pattern"
pub fn end<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn end_int<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn end_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn group<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn group_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn group_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn groupCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn matches<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn find<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn find_int<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn lookingAt<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn quoteReplacement<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn appendReplacement<'env>(
&'env self,
arg0: impl Into<Option<&'env StringBuffer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env StringBuffer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-lang-StringBuffer", "java-util-regex-Matcher"
pub fn appendTail<'env>(
&'env self,
arg0: impl Into<Option<&'env StringBuffer>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env StringBuffer>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-StringBuffer"
pub fn replaceAll<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn replaceFirst<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn region<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-util-regex-Matcher"
pub fn regionStart<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn regionEnd<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn hasTransparentBounds<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn useTransparentBounds<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-util-regex-Matcher"
pub fn hasAnchoringBounds<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn useAnchoringBounds<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-util-regex-Matcher"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn hitEnd<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn requireEnd<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn reset<'env>(
&'env self
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-util-regex-Matcher"
pub fn reset_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence", "java-util-regex-Matcher"
pub fn start<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn start_int<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn start_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Matcher
impl AsRef<MatchResult> for Matcher
fn as_ref(&self) -> &MatchResult
impl AsValidJObjectAndEnv for Matcher
impl Deref for Matcher
impl JniType for Matcher
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Matcher
impl !Send for Matcher
impl !Sync for Matcher
impl Unpin for Matcher
impl UnwindSafe for Matcher
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,