Abstract
Applications often interact with a file system, which is usually implemented as a hierarchy of files and directories starting from a root directory. Operating systems on which a Java virtual machine (JVM) runs typically support at least one file system. For example, Unix/Linux combines all mounted (attached and prepared) disks into one virtual file system. In contrast, Windows associates a separate file system with each active disk drive. Java offers access to the underlying operating system’s available file system(s) via its concrete java.io.File class, which this chapter explores.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2015 Jeff Friesen
About this chapter
Cite this chapter
Friesen, J. (2015). File. In: Java I/O, NIO and NIO.2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1565-4_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1565-4_2
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1566-1
Online ISBN: 978-1-4842-1565-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)