Resources include properties files, images, DTDs, and XML files. These files are located under the Classpath of your application, and are usually loaded from the Classpath by means of the following methods:
When building an application, IntelliJ IDEA copies all resources into the output directory, preserving the directory structure of the resources, relative to the source path. The following file types are recognized as resources by default:
The pattern of recognized resource files is represented as a regular expression and configurable in the Compiler dialog.
Using Resource pattern setting, you can add your own file extensions and create custom list of resources.