- IO
- File Programming
- Streams
- Reader / Writer
- Serialization
- Socket Programming
- RESTful API
- What is a File?
- Why do we use Files?
- How we use Files in our programs?
- Open
- Read/Write
- Close
- Different kinds of Files?
- Text Files:
- Characters
- .txt, .xml, .html, ...
- Binary Files:
- Bytes
- .zip, .exe, .pdf, .docx, ...
- Unicode
- Problems in ASCII.
- The Unicode standard is a character set.
- Characters are saved as numbers.
- What is encoding?
- UTF-8, UTF-16, UTF-32
- The default for Java is UTF-16.
- What is a Stream?
- Save or restore from a File.
- Send data over a network to another program.
- Communicate with devices like monitors, printers, ...
-
IO = Input / Output
- Import java.io library to work with Files and Streams.
Made with Slides.com