Package org.apache.jena.atlas.io

Examples of org.apache.jena.atlas.io.IndentedLineBuffer.printf()


   
    @Test public void write03()
    {
        IndentedLineBuffer b = new IndentedLineBuffer() ;
        b.incIndent() ;
        b.printf("0x%04X", 1) ;
        b.println() ;
        b.print("XX") ;
        b.decIndent() ;
        assertEquals("  0x0001\n  XX", b.asString()) ;
    }
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.