Idioma

Files.GetFileAttributeView(IPath, Class, LinkOption[]) Método

Definição

Retorna uma exibição de atributo de arquivo de um determinado tipo.

[Android.Runtime.Register("getFileAttributeView", "(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "", ApiSince=26)]
[Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })]
public static Java.Lang.Object? GetFileAttributeView(Java.Nio.FileNio.IPath? path, Java.Lang.Class? type, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("getFileAttributeView", "(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "", ApiSince=26)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })>]
static member GetFileAttributeView : Java.Nio.FileNio.IPath * Java.Lang.Class * Java.Nio.FileNio.LinkOption[] -> Java.Lang.Object

Parâmetros

path
IPath

o caminho para o arquivo

type
Class

o Class objeto correspondente à exibição de atributo de arquivo

options
LinkOption[]

opções que indicam como os links simbólicos são tratados

Retornos

uma exibição de atributo de arquivo do tipo especificado ou null se o tipo de exibição de atributo não estiver disponível

Atributos

Comentários

Java documentação para java.nio.file.Files.getFileAttributeView(java.nio.file.Path, java.lang.Class, java.nio.file.LinkOption).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a