1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "java-nio-charset-StandardCharsets"))]
__jni_bindgen! {
    /// public final class [StandardCharsets](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html)
    ///
    /// Required feature: "java-nio-charset-StandardCharsets"
    public final class StandardCharsets ("java/nio/charset/StandardCharsets") extends crate::java::lang::Object {

        /// **get** public static final [ISO_8859_1](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html#ISO_8859_1)
        ///
        /// Required feature: "java-nio-charset-Charset"
        #[cfg(any(feature = "all", feature = "java-nio-charset-Charset"))]
        pub fn ISO_8859_1<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::nio::charset::Charset>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/nio/charset/StandardCharsets\0", "ISO_8859_1\0", "Ljava/nio/charset/Charset;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [US_ASCII](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html#US_ASCII)
        ///
        /// Required feature: "java-nio-charset-Charset"
        #[cfg(any(feature = "all", feature = "java-nio-charset-Charset"))]
        pub fn US_ASCII<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::nio::charset::Charset>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/nio/charset/StandardCharsets\0", "US_ASCII\0", "Ljava/nio/charset/Charset;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [UTF_16](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html#UTF_16)
        ///
        /// Required feature: "java-nio-charset-Charset"
        #[cfg(any(feature = "all", feature = "java-nio-charset-Charset"))]
        pub fn UTF_16<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::nio::charset::Charset>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/nio/charset/StandardCharsets\0", "UTF_16\0", "Ljava/nio/charset/Charset;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [UTF_16BE](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html#UTF_16BE)
        ///
        /// Required feature: "java-nio-charset-Charset"
        #[cfg(any(feature = "all", feature = "java-nio-charset-Charset"))]
        pub fn UTF_16BE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::nio::charset::Charset>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/nio/charset/StandardCharsets\0", "UTF_16BE\0", "Ljava/nio/charset/Charset;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [UTF_16LE](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html#UTF_16LE)
        ///
        /// Required feature: "java-nio-charset-Charset"
        #[cfg(any(feature = "all", feature = "java-nio-charset-Charset"))]
        pub fn UTF_16LE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::nio::charset::Charset>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/nio/charset/StandardCharsets\0", "UTF_16LE\0", "Ljava/nio/charset/Charset;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [UTF_8](https://developer.android.com/reference/java/nio/charset/StandardCharsets.html#UTF_8)
        ///
        /// Required feature: "java-nio-charset-Charset"
        #[cfg(any(feature = "all", feature = "java-nio-charset-Charset"))]
        pub fn UTF_8<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::nio::charset::Charset>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/nio/charset/StandardCharsets\0", "UTF_8\0", "Ljava/nio/charset/Charset;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }
    }
}