IPosixFileAttributes 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
與檔案系統上實作可攜式作業系統介面 (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) 系列標準之檔案系統上檔案相關聯的檔案屬性。
藉由叫用 PosixFileAttributeView
其 PosixFileAttributeView#readAttributes readAttributes
方法來擷取檔案的 POSIX 屬性。
已在 1.7 中新增。
的 java.nio.file.attribute.PosixFileAttributes
JAVA 檔。
此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。
屬性
Handle |
取得基礎 Android 物件的 JNI 值。 (繼承來源 IJavaObject) |
IsDirectory |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 (繼承來源 IBasicFileAttributes) |
IsOther |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 (繼承來源 IBasicFileAttributes) |
IsRegularFile |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 (繼承來源 IBasicFileAttributes) |
IsSymbolicLink |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 (繼承來源 IBasicFileAttributes) |
JniIdentityHashCode |
傳回包裝實例的 |
JniManagedPeerState |
受控對等的狀態。 (繼承來源 IJavaPeerable) |
JniPeerMembers |
成員存取和調用支援。 (繼承來源 IJavaPeerable) |
PeerReference |
傳 JniObjectReference 回已包裝 JAVA 物件實例的 。 (繼承來源 IJavaPeerable) |
方法
CreationTime() |
傳回建立時間。 (繼承來源 IBasicFileAttributes) |
Disposed() |
在處置實例時呼叫。 (繼承來源 IJavaPeerable) |
DisposeUnlessReferenced() |
如果沒有這個實例的未完成參考,則呼叫 |
FileKey() |
傳回可唯一識別指定檔案的物件,如果檔案索引鍵無法使用,則 |
Finalized() |
實例完成時呼叫。 (繼承來源 IJavaPeerable) |
Group() |
傳回檔案的群組擁有者。 |
LastAccessTime() |
傳回上次存取的時間。 (繼承來源 IBasicFileAttributes) |
LastModifiedTime() |
傳回上次修改的時間。 (繼承來源 IBasicFileAttributes) |
Owner() |
傳回檔案的擁有者。 |
Permissions() |
傳回檔案的許可權。 |
SetJniIdentityHashCode(Int32) |
設定 所 |
SetJniManagedPeerState(JniManagedPeerStates) |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 (繼承來源 IJavaPeerable) |
SetPeerReference(JniObjectReference) |
設定 所 |
Size() |
傳回檔案的大小,以位元組為單位 () 。 (繼承來源 IBasicFileAttributes) |
UnregisterFromRuntime() |
取消註冊此實例,讓執行時間不會從未來的 Java.Interop.JniRuntime+JniValueManager.PeekValue 調用傳回它。 (繼承來源 IJavaPeerable) |
擴充方法
JavaCast<TResult>(IJavaObject) |
執行 Android 執行時間檢查的類型轉換。 |
JavaCast<TResult>(IJavaObject) |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 |
GetJniTypeName(IJavaPeerable) |
與檔案系統上實作可攜式作業系統介面 (POSIX) 系列標準之檔案系統上檔案相關聯的檔案屬性。 |