148 |
// CREATING NEW BLOCKS |
// CREATING NEW BLOCKS |
149 |
|
|
150 |
/** Get an <code>OutputStream</code> for adding a new block to this pool. |
/** Get an <code>OutputStream</code> for adding a new block to this pool. |
151 |
|
* @param contentType The content type of the new block. |
152 |
|
* Must already be URI-escaped: All non-URN characters |
153 |
|
* (except the first slash, as in image/jpeg) and significant |
154 |
|
* upper-case characters must be percent-escaped. |
155 |
|
* There must be no spaces in the contentType string. |
156 |
* @see BlockOutputStream |
* @see BlockOutputStream |
157 |
*/ |
*/ |
158 |
BlockOutputStream getBlockOutputStream(String contentType) throws IOException; |
BlockOutputStream getBlockOutputStream(String contentType) throws IOException; |