130 |
* @throws IOException if the stream is too large |
* @throws IOException if the stream is too large |
131 |
* @since 1.4 |
* @since 1.4 |
132 |
*/ |
*/ |
133 |
public void setStream(String key, InputStream stream) throws IOException; |
void setStream(String key, InputStream stream) throws IOException; |
134 |
|
|
135 |
/** |
/** |
136 |
* Return the stream associated with a given key in this applet context, or |
* Return the stream associated with a given key in this applet context, or |
141 |
* @return the associated stream, or null |
* @return the associated stream, or null |
142 |
* @since 1.4 |
* @since 1.4 |
143 |
*/ |
*/ |
144 |
public InputStream getStream(String key); |
InputStream getStream(String key); |
145 |
|
|
146 |
/** |
/** |
147 |
* Iterate over all keys that have associated streams. Sttream associated |
* Iterate over all keys that have associated streams. Stream associated |
148 |
* are local to the applet context, for security purposes. |
* are local to the applet context, for security purposes. |
149 |
* |
* |
150 |
* @return an iterator over the association keys |
* @return an iterator over the association keys |
151 |
* @since 1.4 |
* @since 1.4 |
152 |
*/ |
*/ |
153 |
public Iterator getStreamKeys(); |
Iterator getStreamKeys(); |
154 |
} // interface AppletContext |
} // interface AppletContext |