public class FileUtils
extends java.lang.Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
streamAndSanitizeBytes(java.io.InputStream in)
BM-4746
|
static byte[] |
streamBytes(java.io.InputStream in,
boolean closeIn) |
static java.lang.String |
streamString(java.io.InputStream in,
boolean closeIn) |
static void |
transfer(java.io.InputStream in,
java.io.OutputStream out,
boolean closeIn)
Fast stream transfer method
|
public static void transfer(java.io.InputStream in, java.io.OutputStream out, boolean closeIn) throws java.io.IOException
in
- out
- java.io.IOException
public static java.lang.String streamString(java.io.InputStream in, boolean closeIn) throws java.io.IOException
java.io.IOException
public static byte[] streamBytes(java.io.InputStream in, boolean closeIn) throws java.io.IOException
java.io.IOException
public static byte[] streamAndSanitizeBytes(java.io.InputStream in) throws java.io.IOException
in
- java.io.IOException
Copyright © 2021. All Rights Reserved.