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

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

public interface Path

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

Methods

impl Path

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

getFileSystem

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

pub fn isAbsolute<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

getRoot

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

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

getFileName

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

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

getParent

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

pub fn getNameCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

getName

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

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

subpath

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

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

startsWith

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

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

startsWith

Required features: "java-lang-String"

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

endsWith

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

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

endsWith

Required features: "java-lang-String"

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

normalize

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

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

resolve

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

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

resolve

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

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

resolveSibling

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

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

resolveSibling

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

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

relativize

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

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

toUri

Required features: "java-net-URI"

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

toAbsolutePath

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

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

toRealPath

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

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

toFile

Required features: "java-io-File"

pub fn register_WatchService_Kind_array_Modifier_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WatchService>>,
    arg1: impl Into<Option<&'env ObjectArray<WatchEvent_Kind, Throwable>>>,
    arg2: impl Into<Option<&'env ObjectArray<WatchEvent_Modifier, Throwable>>>
) -> Result<Option<Local<'env, WatchKey>>, Local<'env, Throwable>>
[src]

register

Required features: "java-nio-file-WatchEvent_Kind", "java-nio-file-WatchEvent_Modifier", "java-nio-file-WatchKey", "java-nio-file-WatchService"

pub fn register_WatchService_Kind_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WatchService>>,
    arg1: impl Into<Option<&'env ObjectArray<WatchEvent_Kind, Throwable>>>
) -> Result<Option<Local<'env, WatchKey>>, Local<'env, Throwable>>
[src]

register

Required features: "java-nio-file-WatchEvent_Kind", "java-nio-file-WatchKey", "java-nio-file-WatchService"

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

iterator

Required features: "java-util-Iterator"

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

compareTo

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

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

toString

Required features: "java-lang-String"

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 Path

impl AsRef<Comparable> for Path

impl AsRef<Iterable> for Path

impl AsRef<Watchable> for Path

impl AsValidJObjectAndEnv for Path

impl Deref for Path

type Target = Object

The resulting type after dereferencing.

impl JniType for Path

Auto Trait Implementations

impl RefUnwindSafe for Path

impl !Send for Path

impl !Sync for Path

impl Unpin for Path

impl UnwindSafe for Path

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.