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

 
week8.txt · Last modified: 2008/04/17 13:11 by bwittman
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki