Groovy 1.6.4

groovy.lang
Interface Writable


interface Writable

Represents an object which is capable of writing itself to a text stream in a more efficient format than just creating a toString() representation of itself. This mechanism is particularly useful for templates and such like.

author:
James Strachan
version:
$Revision: 6778 $


Method Summary
Writer writeTo(Writer out)

writes this object to the given stream

 

Method Detail

writeTo

public Writer writeTo(Writer out)
writes this object to the given stream


 

Copyright © 2003-2009 The Codehaus. All rights reserved.