Package org.grails.buffer
package org.grails.buffer
-
ClassDescriptionFast in-memory PrintWriter implementation.Java's default StringWriter uses a StringBuffer which is synchronized.Factory to lazily instantiate the destination.PrintWriter implementation that doesn't have synchronization.An in-memory buffer that provides OutputStream and InputStream interfaces.StreamCharBuffer is a multipurpose in-memory buffer that can replace JDK in-memory buffers (StringBuffer, StringBuilder, StringWriter).Interface for a Writer that gets initialized if it is used Can be used for passing in to "connectTo" method of StreamCharBufferProvides optimized access to java.lang.String internals - Optimized way of creating java.lang.String by reusing a char[] buffer - Optimized way of writing String to java.io.Writer java.lang.String creation reusing a char[] buffer requires Java 1.5+ System property "stringchararrayaccessor.disabled" disables this hack.