public void close() throws IOException {
        is.close();
        if (fos != null)
            fos.close();
        if (deleteFile)
            file.delete();
    }
public void close ( ) throws IOException { is . close ( ) ; if ( fos != null ) fos . close ( ) ; if ( deleteFile ) file . delete ( ) ; }
@see InputStream#close()