[−]Struct jni_android_sys::java::nio::file::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]
&'env self
) -> Result<Option<Local<'env, FileSystem>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn getFileName<'env>(
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn getParent<'env>(
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn endsWith_Path<'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 endsWith_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn normalize<'env>(
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
pub fn toUri<'env>(
&'env self
) -> Result<Option<Local<'env, URI>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, URI>>, Local<'env, Throwable>>
Required features: "java-net-URI"
pub fn toAbsolutePath<'env>(
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<LinkOption, Throwable>>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
Required features: "java-util-Iterator"
pub fn compareTo_Path<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-nio-file-Path"
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 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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'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 Path
impl AsRef<Comparable> for Path
fn as_ref(&self) -> &Comparable
impl AsRef<Iterable> for Path
impl AsRef<Watchable> for Path
impl AsValidJObjectAndEnv for Path
impl Deref for Path
impl JniType for Path
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,