On Tue, 22 Jan 2008 03:45:34 GMT, Roedy Green
<see_website@[EMAIL PROTECTED]
> wrote, quoted or indirectly quoted
someone who said :
>It might be time to make resources more tightly bound to a the
>program, so that for example the compiler/jar builder could
>AUTOMATICALLY pack just the resources referenced.
>
>They could be typed, and there could be compile time type matching so
>that for example you would not accidentally feed a sound file as an
>icon, or a icon format that the caller does not sup****t. You might
>even do size bounds checking at compile time.
>
>A resource would become treated much the way a class is.
one project heading in this direction is called Cramfull.
http://mindprod.com/jgloss/cramfull.html
You might do it by packaging resources in tiny class like objects,
perhaps compressed. You might also do it with some attributes tacked
onto resources in the jar.
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com


|