@Test void getStringClassString() throws IOException { assertEquals("example resource", getString(getClass(), "/resource.txt")); }
public static String getString(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getString(resourceUrl, UTF_8); }
ResourceUtils { public static String getString(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getString(resourceUrl, UTF_8); } }
ResourceUtils { public static String getString(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getString(resourceUrl, UTF_8); } private  ResourceUtils(); }
ResourceUtils { public static String getString(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getString(resourceUrl, UTF_8); } private  ResourceUtils(); static File getFile(String resourceName); static File getFile(Class<?> contextClass, String resourceName); static String getString(String resourceName); static String getString(Class<?> contextClass, String resourceName); static String getString(Class<?> contextClass, String resourceName, Charset charset); static byte[] getBytes(String resourceName); static byte[] getBytes(Class<?> contextClass, String resourceName); }
ResourceUtils { public static String getString(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getString(resourceUrl, UTF_8); } private  ResourceUtils(); static File getFile(String resourceName); static File getFile(Class<?> contextClass, String resourceName); static String getString(String resourceName); static String getString(Class<?> contextClass, String resourceName); static String getString(Class<?> contextClass, String resourceName, Charset charset); static byte[] getBytes(String resourceName); static byte[] getBytes(Class<?> contextClass, String resourceName);  }