[]Struct jni_android_sys::java::net::URLClassLoader

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

public class URLClassLoader

Required feature: java-net-URLClassLoader

Methods

impl URLClassLoader

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

getResourceAsStream

Required features: "java-io-InputStream", "java-lang-String"

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

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

findResource

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

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

findResources

Required features: "java-lang-String", "java-util-Enumeration"

Trait Implementations

impl AsRef<Closeable> for URLClassLoader

impl Deref for URLClassLoader

type Target = SecureClassLoader

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for URLClassLoader

impl AsJValue for URLClassLoader

Auto Trait Implementations

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]