Resource (Java)

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Monkbot at 21:18, 13 January 2021 (Task 18 (cosmetic): eval 2 templates: hyphenate params (2×);). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the Java programming language a resource is a piece of data that can be accessed by the code of an application.[1][2]

An application can access its resources through uniform resource locators, like web resources, but the resources are usually contained within the JAR file(s) of the application.

A resource bundle is a set of key and value pairs, stored as a resource, that is commonly used to allow the localization of an application. For this purpose different resource bundles with a common set of keys are used to store translations for the messages and user interface texts of an application.

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).