Y
Hacker News
new
|
ask
|
show
|
jobs
by
nire
4835 days ago
Yup, just set a new PrintStream(new ByteArrayOutputStream()) in System.setOut() and you're good.