• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[File handling]...

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
File handling have three categories.
1. Reader and Writer (characters only)
2.RandomAccessFile
3.Stream ex: DataInputStream,FileInputStream...
Above statements are my notes,please correct me if I am wrong.
thanks.
-----------------------------------------------------------
Liao
 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
You have mainly -
1) File class
2) Byte Streams (InputStreams and OutputStreams)
3) Streams for Primitives (DataInputStreams and DataInputStreams)
4) Character Streams ( Readers and Writes)
5) Random Access for Files.
6) remember Buffered Streams also.
 
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we say...
1. Low level streams..
FileI/O Streams
I/O Streams (Byte)
2. Higher level streams (uses low level streams)
Filer I/O streams
Data/Byte/Buffer
3. RandomAccessFile
4. (1&2 all over again for characters as Reader/Writer)
HTH
 
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic