if (!dfos.isInMemory()) {
if (!isInMemory()) {
    public InputStream getInputStream()        throws IOException {        if (!dfos.isInMemory()) {            return new FileInputStream(dfos.getFile());        }        if (cachedContent == null) {            cachedContent = dfos.getData();        }        return new ByteArrayInputStream(cachedContent);    }