File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Byte stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Byte stream" Watch "Byte stream" New topic
Author

Byte stream

Candy Bortniker
Ranch Hand

Joined: Mar 17, 2003
Posts: 123
I'm studying for a test that I have tonight. My study guide says "Know how to construct and use Byte streams". I don't have anything about this in my notes and the book is difficult to understand. Do any of you know what it is that I will need to know for this?
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Candy,
In general byte streams are all classes that extend java.io.InputStream for reading raw bytes and java.io.OutputStream for writing raw bytes. You also have character streams which convert the raw bytes into characters according to an encoding scheme. These are subclasses of java.io.Reader and java.io.Writer. Take a look at the API docs in the java.io package for further information.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Byte stream
 
Similar Threads
local mode
Question about Arrays
Problem in writing concatenated byteArray to a PDF file
How I get byte[ ] from Object?
Byte code