public StreamRepository(final InputStream inputStream, final OutputStream outputStream)
{
this.inputStream = new WrappedInputStream(inputStream);
this.outputStream = new WrappedOutputStream(outputStream);
this.mimeRegistry = new DefaultMimeRegistry();
this.rootLocation = new StreamContentLocation(this);
}