Originally Posted by streamh
And why it occurs an error in processing the copyed file? Is there any difference between the two pictures?
; this abstract class is the superclass of all classes representing an input stream of bytes. Direct Known Subclasses:
Base64InputStream, ByteArrayInputStream, CMSInputStream, CryptoInputStream, DataInputStream, FileInputStream, GZIPInputStream, MIMEInputStream, SharedInputStream, ZLibInputStream
Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input. public int available() throws IOException
; The available
method for class InputStream
always returns 0. This method should be overridden by subclasses.
Now, hope we are in same stage!