Module spring.data.elasticsearch
Class ResourceUtil
java.lang.Object
org.springframework.data.elasticsearch.core.ResourceUtil
Utility to read
Resources.- Since:
- 3.2
- Author:
- Mark Paluch, Peter-Josef Meisch
-
Method Summary
-
Method Details
-
readFileFromClasspath
Read aClassPathResourceinto aString.- Parameters:
url- url the resource- Returns:
- the contents of the resource
-