ByteArrayInputStream tempStorageIS = new ByteArrayInputStream(
return new ByteArrayInputStream(
        public InputStream getTemporaryLocation(Object id) throws IOException {            ByteArrayInputStream tempStorageIS = new ByteArrayInputStream(                    ((ByteArrayOutputStream) myTmpFiles.get(id)).toByteArray());            return tempStorageIS;        }