Package com.g2forge.alexandria.java.io
Class HIO
- java.lang.Object
-
- com.g2forge.alexandria.java.io.HIO
-
public final class HIO extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
close(AutoCloseable closeable)
static void
closeAll(AutoCloseable... closeables)
static void
closeAll(Iterable<? extends AutoCloseable> closeables)
static int
getRecommendedBufferSize()
static byte[]
sha1(String value)
static <T> byte[]
sha1(T value, IThrowFunction1<T,InputStream,IOException> open)
static InputStream
toInputStream(String string)
-
-
-
Method Detail
-
toInputStream
public static InputStream toInputStream(String string)
-
getRecommendedBufferSize
public static int getRecommendedBufferSize()
-
close
public static void close(AutoCloseable closeable)
-
closeAll
public static void closeAll(AutoCloseable... closeables)
-
closeAll
public static void closeAll(Iterable<? extends AutoCloseable> closeables)
-
sha1
public static <T> byte[] sha1(T value, IThrowFunction1<T,InputStream,IOException> open)
-
sha1
public static byte[] sha1(String value)
-
-