[]Struct jni_android_sys::java::nio::file::Files

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

public final class Files

Required feature: "java-nio-file-Files"

Methods

impl Files

pub fn newInputStream<'env>(
    __jni_env: &'env Env,
    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>(
    __jni_env: &'env Env,
    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 newByteChannel_Path_Set_FileAttribute_array<'env>(
    __jni_env: &'env Env,
    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 newByteChannel_Path_OpenOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, SeekableByteChannel>>, Local<'env, Throwable>>
[src]

newByteChannel

Required features: "java-nio-channels-SeekableByteChannel", "java-nio-file-OpenOption", "java-nio-file-Path"

pub fn newDirectoryStream_Path<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, DirectoryStream>>, Local<'env, Throwable>>
[src]

newDirectoryStream

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

pub fn newDirectoryStream_Path_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DirectoryStream>>, Local<'env, Throwable>>
[src]

newDirectoryStream

Required features: "java-lang-String", "java-nio-file-DirectoryStream", "java-nio-file-Path"

pub fn newDirectoryStream_Path_Filter<'env>(
    __jni_env: &'env Env,
    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 createFile<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createFile

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

pub fn createDirectory<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createDirectory

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

pub fn createDirectories<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createDirectories

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

pub fn createTempFile_Path_String_String_FileAttribute_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createTempFile

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

pub fn createTempFile_String_String_FileAttribute_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createTempFile

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

pub fn createTempDirectory_Path_String_FileAttribute_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createTempDirectory

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

pub fn createTempDirectory_String_FileAttribute_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ObjectArray<FileAttribute, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

createTempDirectory

Required features: "java-lang-String", "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>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
[src]

delete

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

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

deleteIfExists

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

pub fn copy_Path_Path_CopyOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Path>>,
    arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

copy

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

pub fn move<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Path>>,
    arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

move

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

readSymbolicLink

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

pub fn getFileStore<'env>(
    __jni_env: &'env Env,
    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 isSameFile<'env>(
    __jni_env: &'env Env,
    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>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isHidden

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

pub fn probeContentType<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

probeContentType

Required features: "java-lang-String", "java-nio-file-Path"

pub fn getFileAttributeView<'env>(
    __jni_env: &'env Env,
    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>(
    __jni_env: &'env Env,
    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 setAttribute<'env>(
    __jni_env: &'env Env,
    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<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

setAttribute

Required features: "java-lang-Object", "java-lang-String", "java-nio-file-LinkOption", "java-nio-file-Path"

pub fn getAttribute<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getAttribute

Required features: "java-lang-Object", "java-lang-String", "java-nio-file-LinkOption", "java-nio-file-Path"

pub fn readAttributes_Path_String_LinkOption_array<'env>(
    __jni_env: &'env Env,
    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 getPosixFilePermissions<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]

getPosixFilePermissions

Required features: "java-nio-file-LinkOption", "java-nio-file-Path", "java-util-Set"

pub fn setPosixFilePermissions<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

setPosixFilePermissions

Required features: "java-nio-file-Path", "java-util-Set"

pub fn getOwner<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, UserPrincipal>>, Local<'env, Throwable>>
[src]

getOwner

Required features: "java-nio-file-LinkOption", "java-nio-file-Path", "java-nio-file-attribute-UserPrincipal"

pub fn setOwner<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env UserPrincipal>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

setOwner

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

isSymbolicLink

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

pub fn isDirectory<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isDirectory

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

pub fn isRegularFile<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isRegularFile

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

pub fn getLastModifiedTime<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, FileTime>>, Local<'env, Throwable>>
[src]

getLastModifiedTime

Required features: "java-nio-file-LinkOption", "java-nio-file-Path", "java-nio-file-attribute-FileTime"

pub fn setLastModifiedTime<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env FileTime>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

setLastModifiedTime

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

pub fn size<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<i64, Local<'env, Throwable>>
[src]

size

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

pub fn exists<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
[src]

exists

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

pub fn notExists<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
[src]

notExists

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

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

isReadable

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

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

isWritable

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

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

isExecutable

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

pub fn walkFileTree_Path_Set_int_FileVisitor<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Set>>,
    arg2: i32,
    arg3: impl Into<Option<&'env FileVisitor>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

walkFileTree

Required features: "java-nio-file-FileVisitor", "java-nio-file-Path", "java-util-Set"

pub fn walkFileTree_Path_FileVisitor<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env FileVisitor>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

walkFileTree

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

pub fn newBufferedReader_Path_Charset<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Charset>>
) -> Result<Option<Local<'env, BufferedReader>>, Local<'env, Throwable>>
[src]

newBufferedReader

Required features: "java-io-BufferedReader", "java-nio-charset-Charset", "java-nio-file-Path"

pub fn newBufferedReader_Path<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, BufferedReader>>, Local<'env, Throwable>>
[src]

newBufferedReader

Required features: "java-io-BufferedReader", "java-nio-file-Path"

pub fn newBufferedWriter_Path_Charset_OpenOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Charset>>,
    arg2: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, BufferedWriter>>, Local<'env, Throwable>>
[src]

newBufferedWriter

Required features: "java-io-BufferedWriter", "java-nio-charset-Charset", "java-nio-file-OpenOption", "java-nio-file-Path"

pub fn newBufferedWriter_Path_OpenOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, BufferedWriter>>, Local<'env, Throwable>>
[src]

newBufferedWriter

Required features: "java-io-BufferedWriter", "java-nio-file-OpenOption", "java-nio-file-Path"

pub fn copy_InputStream_Path_CopyOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputStream>>,
    arg1: impl Into<Option<&'env Path>>,
    arg2: impl Into<Option<&'env ObjectArray<CopyOption, Throwable>>>
) -> Result<i64, Local<'env, Throwable>>
[src]

copy

Required features: "java-io-InputStream", "java-nio-file-CopyOption", "java-nio-file-Path"

pub fn copy_Path_OutputStream<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env OutputStream>>
) -> Result<i64, Local<'env, Throwable>>
[src]

copy

Required features: "java-io-OutputStream", "java-nio-file-Path"

pub fn readAllBytes<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

readAllBytes

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

pub fn readAllLines_Path_Charset<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Charset>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

readAllLines

Required features: "java-nio-charset-Charset", "java-nio-file-Path", "java-util-List"

pub fn readAllLines_Path<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

readAllLines

Required features: "java-nio-file-Path", "java-util-List"

pub fn write_Path_byte_array_OpenOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ByteArray>>,
    arg2: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

write

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

pub fn write_Path_Iterable_Charset_OpenOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Iterable>>,
    arg2: impl Into<Option<&'env Charset>>,
    arg3: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

write

Required features: "java-lang-Iterable", "java-nio-charset-Charset", "java-nio-file-OpenOption", "java-nio-file-Path"

pub fn write_Path_Iterable_OpenOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Iterable>>,
    arg2: impl Into<Option<&'env ObjectArray<OpenOption, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

write

Required features: "java-lang-Iterable", "java-nio-file-OpenOption", "java-nio-file-Path"

pub fn list<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

list

Required features: "java-nio-file-Path", "java-util-stream-Stream"

pub fn walk_Path_int_FileVisitOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: i32,
    arg2: impl Into<Option<&'env ObjectArray<FileVisitOption, Throwable>>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

walk

Required features: "java-nio-file-FileVisitOption", "java-nio-file-Path", "java-util-stream-Stream"

pub fn walk_Path_FileVisitOption_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env ObjectArray<FileVisitOption, Throwable>>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

walk

Required features: "java-nio-file-FileVisitOption", "java-nio-file-Path", "java-util-stream-Stream"

pub fn find<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: i32,
    arg2: impl Into<Option<&'env BiPredicate>>,
    arg3: impl Into<Option<&'env ObjectArray<FileVisitOption, Throwable>>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

find

Required features: "java-nio-file-FileVisitOption", "java-nio-file-Path", "java-util-function-BiPredicate", "java-util-stream-Stream"

pub fn lines_Path_Charset<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Charset>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

lines

Required features: "java-nio-charset-Charset", "java-nio-file-Path", "java-util-stream-Stream"

pub fn lines_Path<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

lines

Required features: "java-nio-file-Path", "java-util-stream-Stream"

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 Files

impl AsValidJObjectAndEnv for Files

impl Deref for Files

type Target = Object

The resulting type after dereferencing.

impl JniType for Files

Auto Trait Implementations

impl RefUnwindSafe for Files

impl !Send for Files

impl !Sync for Files

impl Unpin for Files

impl UnwindSafe for Files

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.