[]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>, Local<'env, Throwable>>
[src]

URI

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>, Local<'env, Throwable>>
[src]

URI

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>, Local<'env, Throwable>>
[src]

URI

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>, Local<'env, Throwable>>
[src]

URI

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>, Local<'env, Throwable>>
[src]

URI

Required features: "java-lang-String"

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

create

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

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

parseServerAuthority

Required features: "java-net-URI"

pub fn normalize<'env>(
    &'env self
) -> Result<Option<Local<'env, URI>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[src]

relativize

Required features: "java-net-URI"

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

toURL

Required features: "java-net-URL"

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

getScheme

Required features: "java-lang-String"

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

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

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

getRawSchemeSpecificPart

Required features: "java-lang-String"

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

getSchemeSpecificPart

Required features: "java-lang-String"

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

getRawAuthority

Required features: "java-lang-String"

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

getAuthority

Required features: "java-lang-String"

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

getRawUserInfo

Required features: "java-lang-String"

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

getUserInfo

Required features: "java-lang-String"

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

getHost

Required features: "java-lang-String"

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

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

getRawPath

Required features: "java-lang-String"

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

getPath

Required features: "java-lang-String"

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

getRawQuery

Required features: "java-lang-String"

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

getQuery

Required features: "java-lang-String"

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

getRawFragment

Required features: "java-lang-String"

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

getFragment

Required features: "java-lang-String"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

compareTo

Required features: "java-net-URI"

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

toString

Required features: "java-lang-String"

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

toASCIIString

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 URI

impl AsRef<Comparable> for URI

impl AsRef<Serializable> for URI

impl AsValidJObjectAndEnv for URI

impl Deref for URI

type Target = Object

The resulting type after dereferencing.

impl JniType for URI

Auto Trait Implementations

impl RefUnwindSafe for URI

impl !Send for URI

impl !Sync for URI

impl Unpin for URI

impl UnwindSafe for URI

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.