This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes POSIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "POSIX" Watch "POSIX" New topic
Author

POSIX

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305


Exception in thread "main" java.lang.UnsupportedOperationException
at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:191)
at java.nio.file.Files.readAttributes(Files.java:1675)
at POSIXFilePermissions.main(POSIXFilePermissions.java:12)


My one regret in life is that I am not someone else.
- Woody Allen
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2169
    
  47
Please read the API docs for this method. It says this exception is thrown if the given attribute type is not supported.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: POSIX
 
Similar Threads
newBufferWriter
Possible issue with Java 7
IO question
deprecated
createDirectory()