reader.read(c);
int read = 0; while (read < size) { int r = reader.read(c, read, size-read); if (r == -1) break; read += r; }
    public String getZipEntryContent(ZipFile zip, ZipEntry entry)                              throws IOException {        int size = (int) entry.getSize();        char[] c = new char[size];        InputStreamReader reader = new InputStreamReader(zip.getInputStream(entry));        reader.read(c);        return new String(c);    }