Top "Resources" questions

Assets (like memory, disk space, CPU power or alike) necessary for effective operation or physical files (like images, configuration files or other) to provide some externalized enrichment to an application.

Get a list of resources from classpath directory

I am looking for a way to get a list of all resource names from a given classpath directory, something …

java resources classpath
How to get absolute path to file in /resources folder of your project

Assume standard maven setup. Say in your resources folder you have a file abc. In Java, how can I get …

java maven file resources
open resource with relative path in Java

In my Java app I need to get some files and directories. This is the program structure: ./main.java ./package1/…

java resources loading
Get OS-level system information

I'm currently building a Java app that could end up being run on many different platforms, but primarily variants of …

java memory resources system
Utils to read resource text file to String (Java)

Is there any utility that helps to read a text file in the resource into a String. I suppose this …

java string text resources
Should a RESTful 'PUT' operation return something

I was wondering what people's opinions are of a RESTful PUT operation that returns nothing (null) in the response body.

resources rest service put
How to use ClassLoader.getResources() correctly?

How can I use ClassLoader.getResources() to find recursivly resources from my classpath? E.g. finding all resources in the …

java resources classpath classloader getresource
REST URI convention - Singular or plural name of resource while creating it

I'm new to REST and I've observed that in some RESTful services they use different resource URI for update/get/…

rest resources naming-conventions uri
Android read text raw resource file

Things are simple but don't work as supposed to. I have a text file added as a raw resource. The …

android text resources
TextView bold via xml file?

Is there a way to bold the text in a TextView via XML? <TextView android:textSize="12dip" android:textAppearance="…

android textview resources