[−]Struct jni_android_sys::java::net::URLClassLoader
public class URLClassLoader
Required feature: "java-net-URLClassLoader"
Methods
impl URLClassLoader
pub fn new_URL_array_ClassLoader<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, URLClassLoader>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, URLClassLoader>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-net-URL"
pub fn new_URL_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>
) -> Result<Local<'env, URLClassLoader>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>
) -> Result<Local<'env, URLClassLoader>, Local<'env, Throwable>>
Required features: "java-net-URL"
pub fn new_URL_array_ClassLoader_URLStreamHandlerFactory<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>,
arg1: impl Into<Option<&'env ClassLoader>>,
arg2: impl Into<Option<&'env URLStreamHandlerFactory>>
) -> Result<Local<'env, URLClassLoader>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>,
arg1: impl Into<Option<&'env ClassLoader>>,
arg2: impl Into<Option<&'env URLStreamHandlerFactory>>
) -> Result<Local<'env, URLClassLoader>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-net-URL", "java-net-URLStreamHandlerFactory"
pub fn getResourceAsStream<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
Required features: "java-io-InputStream", "java-lang-String"
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getURLs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<URL, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<URL, Throwable>>>, Local<'env, Throwable>>
Required features: "java-net-URL"
pub fn findResource<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, URL>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, URL>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-net-URL"
pub fn findResources<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Enumeration"
pub fn newInstance_URL_array_ClassLoader<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, URLClassLoader>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>,
arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Option<Local<'env, URLClassLoader>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader", "java-net-URL", "java-net-URLClassLoader"
pub fn newInstance_URL_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>
) -> Result<Option<Local<'env, URLClassLoader>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ObjectArray<URL, Throwable>>>
) -> Result<Option<Local<'env, URLClassLoader>>, Local<'env, Throwable>>
Required features: "java-net-URL", "java-net-URLClassLoader"
Trait Implementations
impl AsJValue for URLClassLoader
impl AsRef<Closeable> for URLClassLoader
impl AsValidJObjectAndEnv for URLClassLoader
impl Deref for URLClassLoader
type Target = SecureClassLoader
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for URLClassLoader
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for URLClassLoader
impl !Send for URLClassLoader
impl !Sync for URLClassLoader
impl Unpin for URLClassLoader
impl UnwindSafe for URLClassLoader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,