@Test void getBytes() throws IOException { assertEquals(16, ResourceUtils.getBytes(getClass(), "/resource.txt").length); }
public static byte[] getBytes(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getBytes(resourceUrl); }
ResourceUtils { public static byte[] getBytes(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getBytes(resourceUrl); } }
ResourceUtils { public static byte[] getBytes(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getBytes(resourceUrl); } private  ResourceUtils(); }
ResourceUtils { public static byte[] getBytes(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getBytes(resourceUrl); } 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 byte[] getBytes(String resourceName) throws IOException { URL resourceUrl = Resources.getResource(resourceName); return getBytes(resourceUrl); } 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);  }