Closed TheBoxyBear closed 9 months ago
Stream
FileReader
FileWriter
In TextFileReader and TextFileWriter
TextFileReader
TextFileWriter
Text[Reader/Writer]
Stream[Reader/Writer]
Stream
constructor toFileReader
andFileWriter
classesIn
TextFileReader
andTextFileWriter
Text[Reader/Writer]
and use it in the read/write methodStream
constructor by wrapping it in aStream[Reader/Writer]
Stream[Reader/Writer]
Text[Reader/Writer]
constructor