use of com.amazon.ion.util.Printer in project ion-java by amzn.
the class RoundTripTest method setUp.
@Override
@Before
public void setUp() throws Exception {
super.setUp();
myPrinter = new Printer();
myBuilder = new StringBuilder();
}
use of com.amazon.ion.util.Printer in project ion-java by amzn.
the class IonValueLite method toString.
@Override
public String toString() {
StringBuilder buf = new StringBuilder(1024);
try {
Printer p = new Printer();
p.print(this, buf);
} catch (IOException e) {
throw new IonException(e);
}
return buf.toString();
}
use of com.amazon.ion.util.Printer in project ion-java by amzn.
the class RoundTripStreamingTest method setUp.
@Override
@Before
public void setUp() throws Exception {
super.setUp();
myPrinter = new Printer();
myBuilder = new StringBuilder();
myBuffer = _Private_Utils.loadFileBytes(myTestFile);
}
Aggregations