[]Struct jni_android_sys::java::net::URI

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

public final class URI

Required feature: java-net-URI

Methods

impl URI

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

Required features: "java-lang-String"

pub fn new_string_string_string_int_string_string_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: i32,
    arg4: impl Into<Option<&'env String>>,
    arg5: impl Into<Option<&'env String>>,
    arg6: impl Into<Option<&'env String>>
) -> Result<Local<'env, URI>>
[src]

Required features: "java-lang-String"

pub fn new_string_string_string_string_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env String>>
) -> Result<Local<'env, URI>>
[src]

Required features: "java-lang-String"

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

Required features: "java-lang-String"

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

Required features: "java-lang-String"

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

create

Required features: "java-lang-String", "java-net-URI"

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

parseServerAuthority

Required features: "java-net-URI"

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

normalize

Required features: "java-net-URI"

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

resolve

Required features: "java-net-URI"

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

resolve

Required features: "java-lang-String", "java-net-URI"

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

relativize

Required features: "java-net-URI"

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

toURL

Required features: "java-net-URL"

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

getScheme

Required features: "java-lang-String"

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

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

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

getRawSchemeSpecificPart

Required features: "java-lang-String"

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

getSchemeSpecificPart

Required features: "java-lang-String"

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

getRawAuthority

Required features: "java-lang-String"

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

getAuthority

Required features: "java-lang-String"

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

getRawUserInfo

Required features: "java-lang-String"

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

getUserInfo

Required features: "java-lang-String"

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

getHost

Required features: "java-lang-String"

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

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

getRawPath

Required features: "java-lang-String"

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

getPath

Required features: "java-lang-String"

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

getRawQuery

Required features: "java-lang-String"

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

getQuery

Required features: "java-lang-String"

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

getRawFragment

Required features: "java-lang-String"

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

getFragment

Required features: "java-lang-String"

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

equals

Required features: "java-lang-Object"

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

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

compareTo

Required features: "java-net-URI"

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

toString

Required features: "java-lang-String"

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

toASCIIString

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<Comparable> for URI

impl AsRef<Serializable> for URI

impl Deref for URI

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for URI

impl AsJValue for URI

Auto Trait Implementations

impl !Sync for URI

impl !Send for URI

impl Unpin for URI

impl RefUnwindSafe for URI

impl UnwindSafe for URI

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]