| Methods in ca.krasnay.scaffold.io with parameters of type Source |
static void |
IOUtils.copy(Source source,
Sink sink)
Copies the contents of a source to a sink using the default buffer size. |
static void |
IOUtils.copy(Source source,
Sink sink,
int bufferSize)
Copies the contents of a source to a sink using a given buffer size. |
static byte[] |
IOUtils.toByteArray(Source source)
Loads the contents of the source into a byte array. |
static String |
IOUtils.toString(Source source,
String encoding)
Reads the contents of a Source into a string. |