The user creates an archive with a servlet response. Then, for each resource to include in the archive, she calls {@link #getStream(Resource)} and writes the resource content to it. After all resources are retrived {@link #finish()} iscalled ensuring that all content is written to the servlet response.
Note however that each intermediary stream may already be writing to the response so the user should not use the response after creating the archive. @see #getStream(Resource) @see #finish() @author cfgi
|
|
|
|