com.softicar.platform.common.code.java.CodePrinterAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.code.java;
public class CodePrinterAdapter {
private final JavaCodePrinter printer;
public CodePrinterAdapter(JavaCodePrinter printer) {
this.printer = printer;
}
public void println() {
printer.println();
}
public void println(String text, Object...args) {
printer.println(text, args);
}
public void beginBlock(String text, Object...args) {
printer.beginBlock(text, args);
}
public void beginBlock() {
printer.beginBlock();
}
public void endBlock() {
printer.endBlock();
}
}