when I try this
BasicFileAttributeView bfav=Files.getFileAttributeView(p, BasicFileAttributeView.class);
and try to see bfav methods in eclipse (using a dot), I dont see the methods mentioned in the options
I see them for
BasicFileAttributes bfas=Files.readAttributes(p, BasicFileAttributes.class);
Please clarify.
Thanks
About Question enthuware.ocpjp.v7.2.1535 :
Moderator: admin
-
- Posts: 16
- Joined: Fri Sep 04, 2015 5:06 pm
- Contact:
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1535 :
Not sure what you are looking at but the options given in the question are not method names. They are "attributes" supported by BasicFileAttributeView and you may check them out here: http://docs.oracle.com/javase/7/docs/ap ... eView.html
BTW, we do not recommend using an IDE for exam preparation. We recommend the command line.
BTW, we do not recommend using an IDE for exam preparation. We recommend the command line.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 242 guests