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(CloseableByteSource processedSource, CloseableByteSource rawSource)
processedSource - the processed sourcerawSource - the raw sourcepublic CloseableByteSource getProcessedByteSource()
public CloseableByteSource getRawByteSource()
getProcessedByteSource().public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException