Java I/O, NIO and NIO.2

Java I/O, NIO and NIO.2

Author:Jeff Friesen
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Architecting a Better File Class

The File-based file system interface is problematic. Several problems are listed here:Many methods return Boolean values rather than throw exceptions. As a result, you don’t know why an operation fails. For example, when the delete() method returns false, you don’t know why the file could not be deleted (such as the file not existing or the user not having the appropriate permission to perform the deletion).

File doesn’t support file system-specific symbolic links and hard links.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.