167 |
The file may be temporary, which is why it is important to |
The file may be temporary, which is why it is important to |
168 |
explicitly ``close()`` the ``BlockFile`` after use. |
explicitly ``close()`` the ``BlockFile`` after use. |
169 |
|
|
170 |
|
XXX getBlockInputStream, delegation to Alph? |
171 |
|
|
172 |
The central media repository class: ``Alph`` |
The central media repository class: ``Alph`` |
173 |
============================================ |
============================================ |
174 |
|
|
175 |
b |
Finally, there is a central class ``Alph`` which |
176 |
|
takes care of finding ScrollBlocks based on URIs, |
177 |
|
adding files etc. |
178 |
|
|
179 |
|
|
180 |
|
.. UML:: alph_alph |
181 |
|
|
182 |
|
class Alph |
183 |
|
assoc compos - multi(*) ScrollBlock |
184 |
|
methods |
185 |
|
ScrollBlock getScrollBlock(String uri) |
186 |
|
ScrollBlock addFile(File f, String contentType) |
187 |
|
|
188 |
|
class ScrollBlock |
189 |
|
|
190 |
|
|