您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Content Index

Content Page # 24

Output byte streams

Writing data to a file is very similar to reading data from a file. To write a file one byte at a time we create an object of class FileWriter , and call its write() method to write each byte. There is also a BufferedWriter class than cofunctionality complementary to the BufferedReader .

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg