Package eu.simuline.octave.util
Class IOUtils
- java.lang.Object
-
- eu.simuline.octave.util.IOUtils
-
public final class IOUtils extends Object
Class for holding static utility functions for readers and writers: copy from reader to writer.- Author:
- Kim Hansen
-
-
Field Summary
Fields Modifier and Type Field Description private static int
BUFFER_SIZE
-
Constructor Summary
Constructors Modifier Constructor Description private
IOUtils()
-
-
-
Field Detail
-
BUFFER_SIZE
private static final int BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
copy
public static long copy(Reader reader, Writer writer) throws IOException
- Parameters:
reader
-writer
-- Returns:
- The total chars copied
- Throws:
IOException
-
-