litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/src/org/litesoft/util/StreamAccessor.java
|
@@ -12,18 +12,20 @@ |
12 |
12 |
|
|
13 |
13 |
|
/** |
14 |
14 |
|
* @return !null |
15 |
|
- |
* @throws IllegalStateException - if not Readable |
|
15 |
+ |
* |
|
16 |
+ |
* @throws IllegalStateException - if not Readable |
16 |
17 |
|
* @throws MissingResourceException - if resource not found |
17 |
|
- |
* @throws IOException - any other IOException |
|
18 |
+ |
* @throws IOException - any other IOException |
18 |
19 |
|
*/ |
19 |
20 |
|
public InputStream readOpen() |
20 |
21 |
|
throws IllegalStateException, MissingResourceException, IOException; |
21 |
22 |
|
|
22 |
23 |
|
/** |
23 |
24 |
|
* @return !null |
|
25 |
+ |
* |
24 |
26 |
|
* @throws UnsupportedOperationException - if not Writable (ie already written) |
25 |
|
- |
* @throws IllegalStateException - if something required for writing is missing |
26 |
|
- |
* @throws IOException - any other IOException |
|
27 |
+ |
* @throws IllegalStateException - if something required for writing is missing |
|
28 |
+ |
* @throws IOException - any other IOException |
27 |
29 |
|
*/ |
28 |
30 |
|
public OutputStream writeOpen() |
29 |
31 |
|
throws UnsupportedOperationException, IllegalStateException, IOException; |