public class ProcessedAndRawByteSources
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
ProcessedAndRawByteSources(CloseableByteSource processedSource,
CloseableByteSource rawSource)
Creates a new container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CloseableByteSource |
getProcessedByteSource()
Obtains a byte source that read the processed contents of the entry.
|
CloseableByteSource |
getRawByteSource()
Obtains a byte source that reads the raw contents of an entry.
|
public ProcessedAndRawByteSources(@Nonnull
CloseableByteSource processedSource,
@Nonnull
CloseableByteSource rawSource)
processedSource - the processed sourcerawSource - the raw source@Nonnull public CloseableByteSource getProcessedByteSource()
@Nonnull public CloseableByteSource getRawByteSource()
getProcessedByteSource().public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException