public final class BytesUtils extends Object
User: Kirill, Date: 24.11.13 10:08
| Modifier | Constructor and Description |
|---|---|
private |
BytesUtils()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readResource(String name,
Class<?> aClass)
Read the resource file to a byte array.
|
public static byte[] readResource(String name, Class<?> aClass) throws IOException
name - the name of fileaClass - the class of resourceIOException - if an I/O error occursCopyright © 2022. All rights reserved.