import org.apache.camel.util.IOHelper;
public class FileInputStreamCache extends InputStream implements StreamCache {
private InputStream stream;
private CachedOutputStream cachedOutputStream;
private File file;
<BUG>public FileInputStreamCache() {
}</BUG>
public FileInputStreamCache(File file, CachedOutputStream cos) throws FileNotFoundException {
this.file = file;
this.cachedOutputStream = cos;

import org.apache.camel.util.IOHelper;
public class FileInputStreamCache extends InputStream implements StreamCache {
private InputStream stream;
private CachedOutputStream cachedOutputStream;
private File file;
public FileInputStreamCache(File file, CachedOutputStream cos) throws FileNotFoundException {
this.file = file;
this.cachedOutputStream = cos;
