IPosixFileAttributes 接口

定义

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

[Android.Runtime.Register("java/nio/file/attribute/PosixFileAttributes", "", "Java.Nio.FileNio.Attributes.IPosixFileAttributesInvoker", ApiSince=26)]
public interface IPosixFileAttributes : IDisposable, Java.Interop.IJavaPeerable, Java.Nio.FileNio.Attributes.IBasicFileAttributes
[<Android.Runtime.Register("java/nio/file/attribute/PosixFileAttributes", "", "Java.Nio.FileNio.Attributes.IPosixFileAttributesInvoker", ApiSince=26)>]
type IPosixFileAttributes = interface
    interface IBasicFileAttributes
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
属性
实现

注解

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

文件的 POSIX 属性是使用 PosixFileAttributeView 通过调用其 方法检索的 PosixFileAttributeView#readAttributes readAttributes

在 1.7 中添加。

java.nio.file.attribute.PosixFileAttributesJava 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

属性

Handle

获取基础 Android 对象的 JNI 值。

(继承自 IJavaObject)
IsDirectory

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

(继承自 IBasicFileAttributes)
IsOther

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

(继承自 IBasicFileAttributes)
IsRegularFile

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

(继承自 IBasicFileAttributes)
IsSymbolicLink

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

(继承自 IBasicFileAttributes)
JniIdentityHashCode

返回包装实例的 的值 java.lang.System.identityHashCode()

(继承自 IJavaPeerable)
JniManagedPeerState

托管对等方的状态。

(继承自 IJavaPeerable)
JniPeerMembers

成员访问和调用支持。

(继承自 IJavaPeerable)
PeerReference

返回 JniObjectReference 包装的 Java 对象实例的 。

(继承自 IJavaPeerable)

方法

CreationTime()

返回创建时间。

(继承自 IBasicFileAttributes)
Disposed()

在释放实例时调用。

(继承自 IJavaPeerable)
DisposeUnlessReferenced()

如果没有对此实例的未完成引用,则调用 Dispose();否则不执行任何操作。

(继承自 IJavaPeerable)
FileKey()

如果文件键不可用, null 则返回唯一标识给定文件的对象。

(继承自 IBasicFileAttributes)
Finalized()

在实例完成时调用。

(继承自 IJavaPeerable)
Group()

返回文件的组所有者。

LastAccessTime()

返回上次访问的时间。

(继承自 IBasicFileAttributes)
LastModifiedTime()

返回上次修改的时间。

(继承自 IBasicFileAttributes)
Owner()

返回文件的所有者。

Permissions()

返回文件的权限。

SetJniIdentityHashCode(Int32)

设置 返回 JniIdentityHashCode的值。

(继承自 IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates)

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

(继承自 IJavaPeerable)
SetPeerReference(JniObjectReference)

设置 返回 PeerReference的值。

(继承自 IJavaPeerable)
Size()

以字节) 返回文件 (的大小。

(继承自 IBasicFileAttributes)
UnregisterFromRuntime()

取消注册此实例,以便运行时不会从将来 Java.Interop.JniRuntime+JniValueManager.PeekValue 的调用中返回它。

(继承自 IJavaPeerable)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

GetJniTypeName(IJavaPeerable)

与实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用的文件系统上的文件关联的文件属性。

适用于