Read resource text file to String in Java
Is there a way to read a text file in the resource into a String? I suppose this is a popular requirement, but I couldn't find any utility after Googling.