public class OpenForisIOUtils extends Object
| Constructor and Description |
|---|
OpenForisIOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
copyToTempFile(InputStream is) |
static File |
copyToTempFile(InputStream is,
String extension) |
static File |
copyToTempFile(Reader reader) |
static File |
copyToTempFile(Reader reader,
String extension) |
static InputStream |
toInputStream(Reader reader) |
static Reader |
toReader(File file) |
static Reader |
toReader(File file,
String charsetName) |
static InputStreamReader |
toReader(InputStream is) |
public static final String UTF_8
public static File copyToTempFile(InputStream is)
public static File copyToTempFile(InputStream is, String extension)
public static InputStream toInputStream(Reader reader)
public static InputStreamReader toReader(InputStream is)
public static Reader toReader(File file) throws FileNotFoundException
FileNotFoundExceptionpublic static Reader toReader(File file, String charsetName) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2020 Open Foris. All rights reserved.