java.lang.Object
io.ebean.util.IOUtils
Utilities for IO. It uses UTF-8 as encoding when reading/writing and uses
buffered IO for better performance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedReader
Read from file as UTF-8.static BufferedReader
newReader
(InputStream is) Read from stream as UTF-8.static BufferedWriter
Write to file as UTF-8static BufferedWriter
Write to stream as UTF-8
-
Constructor Details
-
IOUtils
public IOUtils()
-
-
Method Details
-
newReader
Read from stream as UTF-8. -
newReader
Read from file as UTF-8.- Throws:
FileNotFoundException
-
newWriter
Write to stream as UTF-8 -
newWriter
Write to file as UTF-8- Throws:
FileNotFoundException
-