prints an end-of-line character if enabled via addnewlines property . defaults to outputting a single ' \ n ' character but by using a custom writer , e.g. platformlinewriter , you can get platform-specific end-of-line characters . concode_field_sep int indentLevel concode_elem_sep String indent concode_elem_sep boolean addNewlines concode_elem_sep boolean autoIndent concode_elem_sep Writer out concode_field_sep void decrementIndent concode_elem_sep int getIndentLevel concode_elem_sep void print concode_elem_sep void print concode_elem_sep void flush concode_elem_sep boolean getAutoIndent concode_elem_sep void setAutoIndent concode_elem_sep void printIndent concode_elem_sep void setIndentLevel concode_elem_sep void incrementIndent
void function ( ) { if ( addNewlines ) { try { out . write ( "srini_string" ) ; } catch ( IOException loc0 ) { throw new GroovyRuntimeException ( loc0 ) ; } } }