User Tools

Site Tools


project:week08

File I/O and Networking

Lecture 1

Problem: How can information be stored between program executions?

  • Files
    • Binary
    • Text
  • Stream model
  • Useful classes
    • File
    • FileOutputStream
    • FileInputStream
    • PrintWriter
    • Scanner

Examples

Lecture 2

Note: This lecture will be canceled due to October Break. Networking material will be in the book but not in the course.

Problem: How can information be sent from place to place?

  • Networking in Java has an interface almost identical to files
  • TCP/IP overview
  • Useful classes
    • InetAddress
    • Socket

Examples

Lab

project/week08.txt · Last modified: 2010/05/11 14:51 by jtk