[]Struct jni_android_sys::java::util::regex::Matcher

#[repr(transparent)]
pub struct 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]

pattern

Required features: "java-util-regex-Pattern"

pub fn toMatchResult<'env>(
    &'env self
) -> Result<Option<Local<'env, MatchResult>>, Local<'env, Throwable>>
[src]

toMatchResult

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]

usePattern

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]

pub fn end_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

end

Required features: "java-lang-String"

pub fn group<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

group

Required features: "java-lang-String"

pub fn group_int<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

group

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]

group

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]

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]

quoteReplacement

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]

appendReplacement

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]

appendTail

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]

replaceAll

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]

replaceFirst

Required features: "java-lang-String"

pub fn region<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]

region

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]

pub fn useTransparentBounds<'env>(
    &'env self,
    arg0: bool
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]

useTransparentBounds

Required features: "java-util-regex-Matcher"

pub fn hasAnchoringBounds<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn useAnchoringBounds<'env>(
    &'env self,
    arg0: bool
) -> Result<Option<Local<'env, Matcher>>, Local<'env, Throwable>>
[src]

useAnchoringBounds

Required features: "java-util-regex-Matcher"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

reset

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]

reset

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]

pub fn start_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

start

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]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Matcher

impl AsRef<MatchResult> for Matcher

impl AsValidJObjectAndEnv for Matcher

impl Deref for Matcher

type Target = Object

The resulting type after dereferencing.

impl JniType for Matcher

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.