1 / 15

Advanced JAVA Training Courses in Marathahalli bangalore

Best Advance Java Training in Marathahalli – Learn from best Advance Java Training Institutes in Bangalore with certified experts & get 100% assistance.<br>Advanced JAVA Training Courses in Marathahalli bangalore.<br>Visit: www.firstenquiry.com<br><br>Call: 8792462607<br><br><br>

Download Presentation

Advanced JAVA Training Courses in Marathahalli bangalore

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java I/O (Input and Output) is utilized to process the info and deliver the yield. Java utilizes the idea of stream to make I/O operation quick. The java.io bundle contains every one of the classes required for info and yield operations. We can perform document dealing with in java by Java I/O

  2. A stream is a grouping of data.In Java a stream is made out of bytes. It's known as a stream since it resembles a flood of water that keeps on streaming. In java, 3 streams are made for us naturally. Every one of these streams are appended with reassure.

  3. Java FileOutputStream Class Java FileOutputStream is an output stream used for writing data to a file. If you have to write primitive values into a file, use FileOutputStream class. You can write byte-oriented as well as character-oriented data through FileOutputStream class. But, for character-oriented data, it is preferred to use FileWriter than FileOutStream.

  4. Java FileInputStream Class Java FileInputStream class obtains input bytes from a file. It is used for reading byte- oriented data (streams of raw bytes) such as image data, audio, video etc. You can also read character-stream data. But, for reading streams of characters, it is recommended to use FileReader class.

  5. Java BufferedOutputStream Class Java BufferedOutputStream class is used for buffering an output stream. It internally uses buffer to store data. It adds more efficiency than to write data directly into a stream. So, it makes the performance fast. For adding the buffer in an Output Stream, use the BufferedOutputStream class. Let's see the syntax for adding the buffer in an Output Stream

  6. Java BufferedInputStream Class Java BufferedInputStream class is used to read information from stream. It internally uses buffer mechanism to make the performance fast. The important points about BufferedInputStream are: When the bytes from the stream are skipped or read, the internal buffer automatically refilled from the contained input stream, many bytes at a time. When a BufferedInputStream is created, an internal buffer array is created.

  7. Java SequenceInputStream Class Java SequenceInputStream class is used to read data from multiple streams. It reads data sequentially (one by one).

  8. Java ByteArrayOutputStream Class Java ByteArrayOutputStream class is used to write common data into multiple files. In this stream, the data is written into a byte array which can be written to multiple streams later. The ByteArrayOutputStream holds a copy of data and forwards it to multiple streams. The buffer of ByteArrayOutputStream automatically grows according to data.

  9. Java ByteArrayInputStream Class The ByteArrayInputStream is composed of two words: ByteArray and InputStream. As the name suggests, it can be used to read byte array as input stream. Java ByteArrayInputStream class contains an internal buffer which is used to read byte array as stream. In this stream, the data is read from a byte array. The buffer of ByteArrayInputStream automatically grows according to data.

  10. Java DataOutputStream Class Java DataOutputStream class allows an application to write primitive Java data types to the output stream in a machine- independent way. Java application generally uses the data output stream to write data that can later be read by a data input stream.

  11. Java DataInputStream Class Java DataInputStream class allows an application to read primitive data from the input stream in a machine-independent way. Java application generally uses the data output stream to write data that can later be read by a data input stream.

  12. Java FilterOutputStream Class Java FilterOutputStream class implements the OutputStream class. It provides different sub classes such as BufferedOutputStream and DataOutputStream to provide additional functionality. So it is less used individually.

  13. Java FilterInputStream Class Java FilterInputStream class implements the InputStream. It contains different sub classes as BufferedInputStream, DataInputStream for providing additional functionality. So it is less used individually.

  14. VISIT : www.firstenquiry.com Call: 8792462607

More Related