[]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>>>[src]

pattern

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

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

toMatchResult

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

pub fn use_pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Matcher>>>
[src]

usePattern

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

pub fn end<'env>(&'env self) -> Result<i32>[src]

pub fn end_int<'env>(&'env self, arg0: i32) -> Result<i32>[src]

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

end

Required features: "java-lang-String"

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

group

Required features: "java-lang-String"

pub fn group_int<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, String>>>
[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>>>
[src]

group

Required features: "java-lang-String"

pub fn group_count<'env>(&'env self) -> Result<i32>[src]

pub fn matches<'env>(&'env self) -> Result<bool>[src]

pub fn find<'env>(&'env self) -> Result<bool>[src]

pub fn find_int<'env>(&'env self, arg0: i32) -> Result<bool>[src]

pub fn looking_at<'env>(&'env self) -> Result<bool>[src]

pub fn quote_replacement<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]

quoteReplacement

Required features: "java-lang-String"

pub fn append_replacement<'env>(
    &'env self,
    arg0: impl Into<Option<&'env StringBuffer>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Matcher>>>
[src]

appendReplacement

Required features: "java-lang-String", "java-lang-StringBuffer", "java-util-regex-Matcher"

pub fn append_tail<'env>(
    &'env self,
    arg0: impl Into<Option<&'env StringBuffer>>
) -> Result<Option<Local<'env, StringBuffer>>>
[src]

appendTail

Required features: "java-lang-StringBuffer"

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

replaceAll

Required features: "java-lang-String"

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

replaceFirst

Required features: "java-lang-String"

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

region

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

pub fn region_start<'env>(&'env self) -> Result<i32>[src]

pub fn region_end<'env>(&'env self) -> Result<i32>[src]

pub fn has_transparent_bounds<'env>(&'env self) -> Result<bool>[src]

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

useTransparentBounds

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

pub fn has_anchoring_bounds<'env>(&'env self) -> Result<bool>[src]

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

useAnchoringBounds

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

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

toString

Required features: "java-lang-String"

pub fn hit_end<'env>(&'env self) -> Result<bool>[src]

pub fn require_end<'env>(&'env self) -> Result<bool>[src]

pub fn reset<'env>(&'env self) -> Result<Option<Local<'env, Matcher>>>[src]

reset

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

pub fn reset_char_sequence<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Matcher>>>
[src]

reset

Required features: "java-lang-CharSequence", "java-util-regex-Matcher"

pub fn start<'env>(&'env self) -> Result<i32>[src]

pub fn start_int<'env>(&'env self, arg0: i32) -> Result<i32>[src]

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

start

Required features: "java-lang-String"

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

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

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

Trait Implementations

impl AsRef<MatchResult> for Matcher

impl Deref for Matcher

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Matcher

impl AsJValue for Matcher

Auto Trait Implementations

impl !Sync for Matcher

impl !Send for Matcher

impl Unpin for Matcher

impl RefUnwindSafe for Matcher

impl UnwindSafe for Matcher

Blanket Implementations

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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]