|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| ResourceCollection | Implements the ResourceCollection interface. |
| ResourceCollectionMgr | Manages resources (ResourceCollection). |
| ResourceCollectionUtil | Util class for the resource framework. |
| ResourceItem | Abstract ResourceItem implementation. |
| ResourceItemTypes | Provides the access to the ResourceItem implementations. |
| Exception Summary | |
|---|---|
| ResourceCollectionException | Localization resource exception. |
The resource framework provides a standard resource bundle to inherit from it. This framework provides XML resource files, mime-type and language packaging. Usage: Use the ComponentManager class to get the access to the resources.\n
<?xml version="1.0" encoding="UTF-8"?>\n
<resource cache="true">\n
<resource-item name="jLabel1_Text" type="text/plain">jLabel1</resource-item>\n
<resource-item name="dsrc_tools_resources" type="image/gif">\n
<path>images/test.gif</path>\n
</resource-item>\n
.\n
.\n
</resource>\n
Please have attention for the developing using the jbuilder:
- Use the Resource Wizard with the Property resource class
Attention use the 'Core.properties' file of your project:
#Tue Jan 29 14:35:30 CET 2002
# Component settings\n
# The paths are relative to the root directory\n
ResourceCollection.dir = resource\n
# ResourceCollection.<component>.dir\n
ResourceCollection.test.dir = resource/test\n
# ResourceCollection cache disabling\n
#ResourceCollection.disableCache = true\n
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||