public class FileUtil extends Object
| Constructor and Description |
|---|
FileUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
copyInputStreamToFile(InputStream is,
String to)
Copy input stream to file.
|
static File |
inputStreamToTempFile(InputStream inputStream,
String fileName)
Input stream to temp file.
|
static File |
inputStreamToTempFile(String copyString,
String prefixFile)
Input stream to temp file.
|
public static File inputStreamToTempFile(InputStream inputStream, String fileName) throws IOException
inputStream - the input streamfileName - the file nameIOException - Signals that an I/O exception has occurred.public static File inputStreamToTempFile(String copyString, String prefixFile) throws IOException
copyString - the copy stringIOException - Signals that an I/O exception has occurred.public static File copyInputStreamToFile(InputStream is, String to) throws IOException
is - the isto - the toIOException - Signals that an I/O exception has occurred.Copyright © 2022. All Rights Reserved.