public class FileUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
getUniqueFile(File file)
If file exists, generate a file with non existing file name (for example
fileexist-1.jpg)
|
static void |
writeInputStreamToFile(InputStream is,
File file)
Write content from input stream to the disk.
|
public static void writeInputStreamToFile(InputStream is, File file)
is - input streamfile - file where data will be storedCopyright © 2016 City of Paris. All rights reserved.