Advanced JAVA Training Courses in Marathahalli bangalore(1)

Views:
 
Category: Education
     
 

Presentation Description

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

Comments

Presentation Transcript

slide 2:

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

slide 3:

A stream is a grouping of data.In Java a stream is made out of bytes. Its 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.

slide 4:

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.

slide 5:

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.

slide 6:

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. Lets see the syntax for adding the buffer in an Output Stream

slide 7:

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.

slide 8:

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

slide 9:

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.

slide 10:

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.

slide 11:

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.

slide 12:

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.

slide 13:

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.

slide 14:

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.

slide 15:

VISIT : www.firstenquiry.com Call: 8792462607

authorStream Live Help