[]Struct jni_android_sys::java::security::Provider

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

public class Provider

Required feature: java-security-Provider

Methods

impl Provider

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

getName

Required features: "java-lang-String"

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

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

getInfo

Required features: "java-lang-String"

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

toString

Required features: "java-lang-String"

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

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

load

Required features: "java-io-InputStream"

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

putAll

Required features: "java-util-Map"

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

entrySet

Required features: "java-util-Set"

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

keySet

Required features: "java-util-Set"

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

values

Required features: "java-util-Collection"

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

put

Required features: "java-lang-Object"

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

putIfAbsent

Required features: "java-lang-Object"

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

remove

Required features: "java-lang-Object"

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

remove

Required features: "java-lang-Object"

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

replace

Required features: "java-lang-Object"

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

replace

Required features: "java-lang-Object"

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

replaceAll

Required features: "java-util-function-BiFunction"

pub fn compute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
[src]

compute

Required features: "java-lang-Object", "java-util-function-BiFunction"

pub fn compute_if_absent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Function>>
) -> Result<Option<Local<'env, Object>>>
[src]

computeIfAbsent

Required features: "java-lang-Object", "java-util-function-Function"

pub fn compute_if_present<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
[src]

computeIfPresent

Required features: "java-lang-Object", "java-util-function-BiFunction"

pub fn merge<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>,
    arg2: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
[src]

merge

Required features: "java-lang-Object", "java-util-function-BiFunction"

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

get

Required features: "java-lang-Object"

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

getOrDefault

Required features: "java-lang-Object"

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

forEach

Required features: "java-util-function-BiConsumer"

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

keys

Required features: "java-util-Enumeration"

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

elements

Required features: "java-util-Enumeration"

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

getProperty

Required features: "java-lang-String"

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

getService

Required features: "java-lang-String", "java-security-Provider_Service"

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

getServices

Required features: "java-util-Set"

Methods from Deref<Target = Properties>

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

setProperty

Required features: "java-lang-Object", "java-lang-String"

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

load

Required features: "java-io-Reader"

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

load

Required features: "java-io-InputStream"

pub fn save<'env>(
    &'env self,
    arg0: impl Into<Option<&'env OutputStream>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<()>
[src]

Deprecated

save

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

pub fn store_writer_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Writer>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<()>
[src]

store

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

pub fn store_output_stream_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env OutputStream>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<()>
[src]

store

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

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

loadFromXML

Required features: "java-io-InputStream"

pub fn store_to_xml_output_stream_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env OutputStream>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<()>
[src]

storeToXML

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

pub fn store_to_xml_output_stream_string_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env OutputStream>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<()>
[src]

storeToXML

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

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

getProperty

Required features: "java-lang-String"

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

getProperty

Required features: "java-lang-String"

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

propertyNames

Required features: "java-util-Enumeration"

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

stringPropertyNames

Required features: "java-util-Set"

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

list

Required features: "java-io-PrintStream"

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

list

Required features: "java-io-PrintWriter"

Trait Implementations

impl Deref for Provider

type Target = Properties

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Provider

impl AsJValue for Provider

Auto Trait Implementations

impl !Sync for Provider

impl Unpin for Provider

impl !Send for Provider

impl UnwindSafe for Provider

impl RefUnwindSafe for Provider

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]