[]Struct jni_android_sys::android::util::Patterns

#[repr(transparent)]
pub struct Patterns(_);

public class Patterns

Required feature: "android-util-Patterns"

Methods

impl Patterns

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

concatGroups

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

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

digitsAndPlusOnly

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

pub fn DOMAIN_NAME<'env>(env: &'env Env) -> Option<Local<'env, Pattern>>[src]

get public static final DOMAIN_NAME

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

pub fn EMAIL_ADDRESS<'env>(env: &'env Env) -> Option<Local<'env, Pattern>>[src]

get public static final EMAIL_ADDRESS

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

pub const GOOD_IRI_CHAR: &'static str[src]

Deprecated

public static final GOOD_IRI_CHAR

pub fn IP_ADDRESS<'env>(env: &'env Env) -> Option<Local<'env, Pattern>>[src]

get public static final IP_ADDRESS

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

pub fn PHONE<'env>(env: &'env Env) -> Option<Local<'env, Pattern>>[src]

get public static final PHONE

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

pub fn TOP_LEVEL_DOMAIN<'env>(env: &'env Env) -> Option<Local<'env, Pattern>>[src]

Deprecated

get public static final TOP_LEVEL_DOMAIN

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

pub const TOP_LEVEL_DOMAIN_STR: &'static str[src]

Deprecated

public static final TOP_LEVEL_DOMAIN_STR

pub const TOP_LEVEL_DOMAIN_STR_FOR_WEB_URL: &'static str[src]

Deprecated

pub fn WEB_URL<'env>(env: &'env Env) -> Option<Local<'env, Pattern>>[src]

get public static final WEB_URL

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

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 Patterns

impl AsValidJObjectAndEnv for Patterns

impl Deref for Patterns

type Target = Object

The resulting type after dereferencing.

impl JniType for Patterns

Auto Trait Implementations

impl RefUnwindSafe for Patterns

impl !Send for Patterns

impl !Sync for Patterns

impl Unpin for Patterns

impl UnwindSafe for Patterns

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.