Files and File Systems in Java
An Introduction |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
File
and Files
Classes:
File
object is an encapsulation of
a file/directory handle (not an actual
file on the file system)Files
class is a utility class for operating
on File
and Path
objectsFile
Object:
File
Objects (cont.)File.mkdir()