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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


__jni_bindgen! {
    /// public interface [DosFileAttributes](https://developer.android.com/reference/java/nio/file/attribute/DosFileAttributes.html)
    ///
    /// Required feature: java-nio-file-attribute-DosFileAttributes
    #[cfg(any(feature = "all", feature = "java-nio-file-attribute-DosFileAttributes"))]
    public interface DosFileAttributes extends crate::java::lang::Object, implements crate::java::nio::file::attribute::BasicFileAttributes {

        /// [isReadOnly](https://developer.android.com/reference/java/nio/file/attribute/DosFileAttributes.html#isReadOnly())
        pub fn is_read_only<'env>(&'env self) -> __jni_bindgen::Result<bool> {
            // class.path == "java/nio/file/attribute/DosFileAttributes", java.flags == PUBLIC | ABSTRACT, .name == "isReadOnly", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/nio/file/attribute/DosFileAttributes\0", "isReadOnly\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isHidden](https://developer.android.com/reference/java/nio/file/attribute/DosFileAttributes.html#isHidden())
        pub fn is_hidden<'env>(&'env self) -> __jni_bindgen::Result<bool> {
            // class.path == "java/nio/file/attribute/DosFileAttributes", java.flags == PUBLIC | ABSTRACT, .name == "isHidden", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/nio/file/attribute/DosFileAttributes\0", "isHidden\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isArchive](https://developer.android.com/reference/java/nio/file/attribute/DosFileAttributes.html#isArchive())
        pub fn is_archive<'env>(&'env self) -> __jni_bindgen::Result<bool> {
            // class.path == "java/nio/file/attribute/DosFileAttributes", java.flags == PUBLIC | ABSTRACT, .name == "isArchive", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/nio/file/attribute/DosFileAttributes\0", "isArchive\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isSystem](https://developer.android.com/reference/java/nio/file/attribute/DosFileAttributes.html#isSystem())
        pub fn is_system<'env>(&'env self) -> __jni_bindgen::Result<bool> {
            // class.path == "java/nio/file/attribute/DosFileAttributes", java.flags == PUBLIC | ABSTRACT, .name == "isSystem", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/nio/file/attribute/DosFileAttributes\0", "isSystem\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}