@Override public int read(byte b[], int off, int sz) throws IOException { int len = memStream.read(b, off, sz); if (len == -1) { len = fileStream.read(b, off, sz); } return len; }
@Override public int read() throws IOException { int ch = memStream.read(); if (ch == -1) { ch = fileStream.read(); } return ch; }
@Override public int read() throws IOException { int ch = memStream.read(); if (ch == -1) { ch = fileStream.read(); } return ch; }
@Override public int read() throws IOException { int ch = memStream.read(); if (ch == -1) { ch = fileStream.read(); } return ch; }
@Override public int read(byte b[], int off, int sz) throws IOException { int len = memStream.read(b, off, sz); if (len == -1) { len = fileStream.read(b, off, sz); } return len; }
@Override public int read(byte b[], int off, int sz) throws IOException { int len = memStream.read(b, off, sz); if (len == -1) { len = fileStream.read(b, off, sz); } return len; }