[]Struct jni_android_sys::java::nio::file::spi::FileSystemProvider

#[repr(transparent)]
pub struct 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]

installedProviders

Required features: "java-util-List"

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

getScheme

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]

newFileSystem

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]

getFileSystem

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]

getPath

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]

newFileSystem

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]

newInputStream

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]

newOutputStream

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]

newFileChannel

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]

newAsynchronousFileChannel

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]

newByteChannel

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]

newDirectoryStream

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]

createDirectory

Required features: "java-nio-file-Path", "java-nio-file-attribute-FileAttribute"

createSymbolicLink

Required features: "java-nio-file-Path", "java-nio-file-attribute-FileAttribute"

createLink

Required features: "java-nio-file-Path"

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

delete

Required features: "java-nio-file-Path"

pub fn deleteIfExists<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
[src]

deleteIfExists

Required features: "java-nio-file-Path"

readSymbolicLink

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]

copy

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]

move

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]

isSameFile

Required features: "java-nio-file-Path"

pub fn isHidden<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isHidden

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]

getFileStore

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]

checkAccess

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]

getFileAttributeView

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]

readAttributes

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]

readAttributes

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]

setAttribute

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]

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

type Target = Object

The resulting type after dereferencing.

impl JniType for FileSystemProvider

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.