Code example for PushbackInputStream

Methods: close

0
     * Closes the underlying stream. 
     *  
     * @throws IOException on I/O errors. 
     */ 
    public void close() throws IOException { 
        s.close();
    } 
 
    /** 
     * Determines if the underlying stream has more parts (this stream has 
     * not seen an end boundary). 
     *  
     * @return <code>true</code> if there are more parts in the underlying  
     *         stream, <code>false</code> otherwise. 
     */ 
    public boolean hasMoreParts() { 
        return moreParts;
    } 
 
    /** 
Connect your IDE to all the code out there  Get Codota for Java