/** * Filter a delta (or reversedelta), provided via the InputStream, to each of the OutputStreams. * * The number of provided OutputStreams should be equal to the number of provided HollowFilterConfigs at instantiation. * * @param in the input stream to the delta * @param out the output streams to write the filtered delta * @throws IOException if the delta cannot be filtered */ public void filterDelta(InputStream in, OutputStream... out) throws IOException { filter(true, in, out); }
/** * Filter a snapshot, provided via the InputStream, to each of the OutputStreams. * * The number of provided OutputStreams should be equal to the number of provided HollowFilterConfigs at instantiation. * * @param in the input stream to the snapshot * @param out the output streams to write the filtered snapshot * @throws IOException if the snapshot cannot be filtered */ public void filterSnapshot(InputStream in, OutputStream... out) throws IOException { filter(false, in, out); }