Package org.jgroups.util

Examples of org.jgroups.util.ByteArrayDataInputStream.readLine()


          "\ntertiam qui ipsorum lingua Celtae, nostra Galli appellantur";
        byte[] buf=str.getBytes();
        ByteArrayDataInputStream in=new ByteArrayDataInputStream(buf);
        List<String> lines=new ArrayList<String>(4);
        String line;
        while((line=in.readLine()) !=  null) {
            System.out.println(line);
            lines.add(line);
        }
        assert lines.size() == 4;
    }
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.