Java Reference
In-Depth Information
CHAPTER
8
W riting D ata to a S equential
D ata F ile
Objectives
You will have
mastered the material in
this chapter when you can:
• Explain the use of volatile and nonvolatile
data
• Set the Look and Feel using the UIManager class
• Customize a JFrame using the setResizable() and setLocation() methods
• Format dates using letter descriptors and the SimpleDataFormat class
• Concatenate a formatted date String onto a file name
• Understand the data hierarchy
• Differentiate between sequential and random access files
• Create a sequential file using Java's DataOutputStream
• Construct an instance of the DataOutputStream
• Describe user events and listener types
• Implement the showConfirmDialog() method
• Use write() methods to send data to a secondary storage device
• Verify the existence of a data file
 
Search WWH ::




Custom Search