public class FilesUtils extends Object
| Constructor and Description |
|---|
FilesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
streamToFile(InputStream instream,
String filename)
Stores an InputStream to a local file.
|
public static void streamToFile(InputStream instream, String filename) throws Exception
instream - The InputStream which will be persisted.filename - The name of the file in which the stream will be persisted.Exception - If the stream could not be persisted.Copyright © 2014. All Rights Reserved.