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