public enum IOTools extends Enum<IOTools>
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readFile(String name) |
static String |
tempName(String filename) |
static IOTools |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOTools[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeFile(String filename,
byte[] bytes) |
public static IOTools[] values()
for (IOTools c : IOTools.values()) System.out.println(c);
public static IOTools valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static byte[] readFile(String name) throws IOException
IOExceptionpublic static void writeFile(String filename, byte[] bytes) throws IOException
IOExceptionCopyright © 2016. All rights reserved.