[−]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>>>
[src]
Required features: "java-util-regex-Pattern"
pub fn to_match_result<'env>(
&'env self
) -> Result<Option<Local<'env, MatchResult>>>
[src]
&'env self
) -> Result<Option<Local<'env, MatchResult>>>
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]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Matcher>>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
pub fn group<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn group_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn group_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
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]
&'env self,
arg0: impl Into<Option<&'env StringBuffer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Matcher>>>
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]
&'env self,
arg0: impl Into<Option<&'env StringBuffer>>
) -> Result<Option<Local<'env, StringBuffer>>>
Required features: "java-lang-StringBuffer"
pub fn replace_all<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn replace_first<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn region<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Matcher>>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Matcher>>>
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]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Matcher>>>
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]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Matcher>>>
Required features: "java-util-regex-Matcher"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
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]
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Matcher>>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32>
Required features: "java-lang-String"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>
[src]
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
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
fn as_ref(&self) -> &MatchResult
impl Deref for Matcher
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]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,