import "java.lang.String" import "fschmidt.util.java.IoUtils" ... bytes = IoUtils.readAll(input) message = String.new(bytes) ...