[−]Struct jni_android_sys::java::nio::file::spi::FileSystemProvider
public class FileSystemProvider
Required feature: "java-nio-file-spi-FileSystemProvider"
Methods
impl FileSystemProvider
pub fn installedProviders<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getScheme<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn newFileSystem_URI_Map<'env>(
&'env self,
arg0: impl Into<Option<&'env URI>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env URI>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
Required features: "java-net-URI", "java-nio-file-FileSystem", "java-util-Map"
pub fn getFileSystem<'env>(
&'env self,
arg0: impl Into<Option<&'env URI>>
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env URI>>
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
Required features: "java-net-URI", "java-nio-file-FileSystem"
pub fn getPath<'env>(
&'env self,
arg0: impl Into<Option<&'env URI>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env URI>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "java-net-URI", "java-nio-file-Path"
pub fn newFileSystem_Path_Map<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
Required features: "java-nio-file-FileSystem", "java-nio-file-Path", "java-util-Map"
pub fn newInputStream<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
Required features: "java-io-InputStream", "java-nio-file-OpenOption", "java-nio-file-Path"
pub fn newOutputStream<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
Required features: "java-io-OutputStream", "java-nio-file-OpenOption", "java-nio-file-Path"
pub fn newFileChannel<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Set>>,
arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, FileChannel>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Set>>,
arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, FileChannel>>, Local<'env, Throwable>>
Required features: "java-nio-channels-FileChannel", "java-nio-file-Path", "java-nio-file-attribute-FileAttribute", "java-util-Set"
pub fn newAsynchronousFileChannel<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Set>>,
arg2: impl Into<Option<&'env ExecutorService>>,
arg3: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, AsynchronousFileChannel>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Set>>,
arg2: impl Into<Option<&'env ExecutorService>>,
arg3: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, AsynchronousFileChannel>>, Local<'env, Throwable>>
Required features: "java-nio-channels-AsynchronousFileChannel", "java-nio-file-Path", "java-nio-file-attribute-FileAttribute", "java-util-Set", "java-util-concurrent-ExecutorService"
pub fn newByteChannel<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Set>>,
arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, SeekableByteChannel>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Set>>,
arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, SeekableByteChannel>>, Local<'env, Throwable>>
Required features: "java-nio-channels-SeekableByteChannel", "java-nio-file-Path", "java-nio-file-attribute-FileAttribute", "java-util-Set"
pub fn newDirectoryStream<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env DirectoryStream_Filter>>
) -> Result<Option<Local<'env, DirectoryStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env DirectoryStream_Filter>>
) -> Result<Option<Local<'env, DirectoryStream>>, Local<'env, Throwable>>
Required features: "java-nio-file-DirectoryStream", "java-nio-file-DirectoryStream_Filter", "java-nio-file-Path"
pub fn createDirectory<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-Path", "java-nio-file-attribute-FileAttribute"
pub fn createSymbolicLink<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-Path", "java-nio-file-attribute-FileAttribute"
pub fn createLink<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn delete<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn deleteIfExists<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn readSymbolicLink<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn copy<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-CopyOption", "java-nio-file-Path"
pub fn move<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-CopyOption", "java-nio-file-Path"
pub fn isSameFile<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn isHidden<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn getFileStore<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, FileStore>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, FileStore>>, Local<'env, Throwable>>
Required features: "java-nio-file-FileStore", "java-nio-file-Path"
pub fn checkAccess<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<AccessMode, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env ObjectArray<AccessMode, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-nio-file-AccessMode", "java-nio-file-Path"
pub fn getFileAttributeView<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Class>>,
arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, FileAttributeView>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Class>>,
arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, FileAttributeView>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-nio-file-LinkOption", "java-nio-file-Path", "java-nio-file-attribute-FileAttributeView"
pub fn readAttributes_Path_Class_LinkOption_array<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Class>>,
arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, BasicFileAttributes>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Class>>,
arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, BasicFileAttributes>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-nio-file-LinkOption", "java-nio-file-Path", "java-nio-file-attribute-BasicFileAttributes"
pub fn readAttributes_Path_String_LinkOption_array<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-nio-file-LinkOption", "java-nio-file-Path", "java-util-Map"
pub fn setAttribute<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Object>>,
arg3: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Object>>,
arg3: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-nio-file-LinkOption", "java-nio-file-Path"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for FileSystemProvider
impl AsValidJObjectAndEnv for FileSystemProvider
impl Deref for FileSystemProvider
impl JniType for FileSystemProvider
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for FileSystemProvider
impl !Send for FileSystemProvider
impl !Sync for FileSystemProvider
impl Unpin for FileSystemProvider
impl UnwindSafe for FileSystemProvider
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>,