Package org.jruby.util.io

Examples of org.jruby.util.io.OpenFile.appendline()


            try {
                boolean bufferString = str instanceof RubyString;
                ByteList[] strPtr = {bufferString ? ((RubyString) str).getByteList() : null};

                int[] limit_p = {_limit};
                while ((c = fptr.appendline(context, newline, strPtr, limit_p)) != OpenFile.EOF) {
                    int s, p, pp, e;

                    if (c == newline) {
                        if (strPtr[0].getRealSize() < rslen) continue;
                        s = strPtr[0].getBegin();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.