java - Where can I find the list of attributes name? -


i wondering if there list of attributes name referred when using following:

however, can set dos attribute using setattribute(path, string, object, linkoption...) method, follows:

path file = ...; files.setattribute(file, "dos:hidden", true);

in case .ishidden() method referred hidden, isreadonly()? have tried dos:readonly , other combination, without achieving result wanted. dou know link has list of attribute "reference"? in advance.

http://www.kodejava.org/how-do-i-set-the-value-of-file-attributes/

// // set new file attributes. // files.setattribute(file, "dos:archive", false); files.setattribute(file, "dos:hidden", false); files.setattribute(file, "dos:readonly", false); files.setattribute(file, "dos:system", false); 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -