Package org.elasticsearch.test
Class StreamsUtils
java.lang.Object
org.elasticsearch.test.StreamsUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static String
copyToStringFromClasspath
(ClassLoader classLoader, String path) static String
-
Constructor Details
-
StreamsUtils
public StreamsUtils()
-
-
Method Details
-
copyToStringFromClasspath
public static String copyToStringFromClasspath(ClassLoader classLoader, String path) throws IOException - Throws:
IOException
-
copyToStringFromClasspath
- Throws:
IOException
-
copyToBytesFromClasspath
- Throws:
IOException
-