public InputStream openStream() throws IOException { if (uri == null) throw new IllegalStateException("uri: null"); if (!uri.startsWith("file:")) return new URL(uri).openStream(); InputStream in = new FileInputStream(getFile()); StreamUtils.skipFully(in, offset); return in; }
+ numFragments + " does not match " + frames); this.file = ((BulkData) pixeldataFragments.get(1)).getFile(); ImageReaderFactory.ImageReaderParam param = ImageReaderFactory.getImageReaderParam(tsuid); this.pmiAfterDecompression = param.pmiAfterDecompression(pmi); } else { this.file = ((BulkData) pixeldata).getFile();