public class StreamUtil extends Object
Constructor and Description |
---|
StreamUtil() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
bufferedInputStream(File file) |
static InputStream |
bufferedInputStream(Path path) |
static InputStream |
bufferedInputStream(String path) |
static OutputStream |
bufferedOutputStream(File file) |
static OutputStream |
bufferedOutputStream(Path path) |
static OutputStream |
bufferedOutputStream(String path) |
public static OutputStream bufferedOutputStream(File file) throws FileNotFoundException
FileNotFoundException
public static OutputStream bufferedOutputStream(String path) throws FileNotFoundException
FileNotFoundException
public static OutputStream bufferedOutputStream(Path path) throws IOException
IOException
public static InputStream bufferedInputStream(File file) throws FileNotFoundException
FileNotFoundException
public static InputStream bufferedInputStream(String path) throws FileNotFoundException
FileNotFoundException
public static InputStream bufferedInputStream(Path path) throws IOException
IOException