public enum IOTools extends Enum<IOTools>
Modifier and Type | Field and Description |
---|---|
static Charset |
ISO_8859_1 |
static Charset |
UTF_8 |
Modifier and Type | Method and Description |
---|---|
static void |
clean(ByteBuffer bb) |
static void |
close(Closeable closeable) |
static void |
close(Iterable<? extends Closeable> closeables) |
static void |
deleteDir(String dirPath) |
static int |
stopBitLength(long l) |
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.
|
public static final Charset ISO_8859_1
public static final Charset UTF_8
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 int stopBitLength(long l)
public static void deleteDir(String dirPath)
public static void clean(ByteBuffer bb)
Copyright © 2019. All rights reserved.