We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.open.
Class FileUtil
- java.lang.Object
-
- com.vaadin.open.FileUtil
-
public class FileUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUtil()
-
Method Summary
All Methods Modifier and Type Method Description static void
copy(InputStream in, FileOutputStream out)
static String
read(InputStream inputStream)
static String
readFile(File file)
-
-
-
Method Detail
-
readFile
public static String readFile(File file) throws IOException
Throws:
-
read
public static String read(InputStream inputStream) throws IOException
Throws:
-
copy
public static void copy(InputStream in, FileOutputStream out) throws IOException
Throws:
-
-