Package org.fugerit.java.core.io
Class SafeIO
- java.lang.Object
-
- org.fugerit.java.core.io.SafeIO
-
public class SafeIO extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
readBytes(Supplier<InputStream> isp)
static String
readString(Supplier<Reader> isp)
static String
readStringStream(Supplier<InputStream> isp)
-
-
-
Method Detail
-
readStringStream
public static String readStringStream(Supplier<InputStream> isp)
-
readBytes
public static byte[] readBytes(Supplier<InputStream> isp)
-
-