當前位置: 首頁>>代碼示例>>Java>>正文


Java JavaWriter.println方法代碼示例

本文整理匯總了Java中org.jooq.util.JavaWriter.println方法的典型用法代碼示例。如果您正苦於以下問題:Java JavaWriter.println方法的具體用法?Java JavaWriter.println怎麽用?Java JavaWriter.println使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.jooq.util.JavaWriter的用法示例。


在下文中一共展示了JavaWriter.println方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: generateClientGetterAndSetter

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
protected void generateClientGetterAndSetter(JavaWriter out) {
    out.println();
    out.tab(1).println("private AsyncJooqSQLClient client;");
    out.println();
    generateSetVertxAnnotation(out);
    out.tab(1).println("@Override");
    out.tab(1).println("public void setClient(AsyncJooqSQLClient client) {");
    out.tab(2).println("this.client = client;");
    out.tab(1).println("}");
    out.println();
    out.tab(1).println("@Override");
    out.tab(1).println("public AsyncJooqSQLClient client() {");
    out.tab(2).println("return this.client;");
    out.tab(1).println("}");
    out.println();
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:17,代碼來源:FutureAsyncVertxGenerator.java

示例2: generateVertxGetterAndSetterConfigurationMethod

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateVertxGetterAndSetterConfigurationMethod(JavaWriter out) {
    out.println();
    out.tab(1).println("private io.vertx.rxjava.core.Vertx vertx;");
    out.println();
    generateSetVertxAnnotation(out);
    out.tab(1).println("@Override");
    out.tab(1).println("public void setVertx(io.vertx.core.Vertx vertx) {");
    out.tab(2).println("this.vertx = new io.vertx.rxjava.core.Vertx(vertx);");
    out.tab(1).println("}");
    out.println();
    out.tab(1).println("@Override");
    out.tab(1).println("public void setVertx(io.vertx.rxjava.core.Vertx vertx) {");
    out.tab(2).println("this.vertx = vertx;");
    out.tab(1).println("}");
    out.println();
    out.tab(1).println("@Override");
    out.tab(1).println("public io.vertx.rxjava.core.Vertx vertx() {");
    out.tab(2).println("return this.vertx;");
    out.tab(1).println("}");
    out.println();
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:23,代碼來源:RXAsyncVertxGuiceGenerator.java

示例3: generateVertxGetterAndSetterConfigurationMethod

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateVertxGetterAndSetterConfigurationMethod(JavaWriter out) {
    out.println();
    out.tab(1).println("private io.vertx.reactivex.core.Vertx vertx;");
    out.println();
    generateSetVertxAnnotation(out);
    out.tab(1).println("@Override");
    out.tab(1).println("public void setVertx(io.vertx.reactivex.core.Vertx vertx) {");
    out.tab(2).println("this.vertx = vertx;");
    out.tab(1).println("}");
    out.println();
    out.tab(1).println("@Override");
    out.tab(1).println("public io.vertx.reactivex.core.Vertx vertx() {");
    out.tab(2).println("return this.vertx;");
    out.tab(1).println("}");
    out.println();
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq,代碼行數:18,代碼來源:RXVertxGenerator.java

示例4: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import io.reactivex.Completable;");
    out.println("import io.reactivex.Observable;");
    out.println("import io.reactivex.Single;");
    out.println("import io.github.jklingsporn.vertx.jooq.async.rx.util.RXTool;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:8,代碼來源:RXAsyncVertxGuiceGenerator.java

示例5: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import io.reactivex.Completable;");
    out.println("import io.reactivex.Observable;");
    out.println("import io.reactivex.Single;");
    out.println("import io.github.jklingsporn.vertx.jooq.async.rx.util.RXTool;");
    out.println("import io.github.jklingsporn.vertx.jooq.async.rx.AsyncJooqSQLClient;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:9,代碼來源:RXAsyncVertxGenerator.java

示例6: renderInsertReturningOverwrite

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void renderInsertReturningOverwrite(TableDefinition table, JavaWriter out, String reason) {
    out.println();
    out.tab(1).println("@Override");
    out.tab(1).println("public void insertReturningPrimaryAsync(%s object, Handler<AsyncResult<%s>> resultHandler){",
            out.ref(getStrategy().getFullJavaClassName(table, GeneratorStrategy.Mode.POJO)),
            getKeyType(table.getPrimaryKey()));
    out.tab(2).println("throw new UnsupportedOperationException(\"%s\");",reason);
    out.tab(1).println("}");
    out.println();
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:12,代碼來源:ClassicAsyncVertxGenerator.java

示例7: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import io.reactivex.Completable;");
    out.println("import io.reactivex.Observable;");
    out.println("import io.reactivex.Single;");
    out.println("import io.github.jklingsporn.vertx.jooq.rx.util.RXTool;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq,代碼行數:8,代碼來源:RXVertxGenerator.java

示例8: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import java.util.concurrent.CompletableFuture;");
    out.println("import io.github.jklingsporn.vertx.jooq.async.future.AsyncJooqSQLClient;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:6,代碼來源:FutureAsyncVertxGenerator.java

示例9: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import java.util.concurrent.CompletableFuture;");
    out.println("import io.github.jklingsporn.vertx.jooq.future.async.impl.FutureTool;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:6,代碼來源:FutureAsyncVertxGuiceGenerator.java

示例10: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import io.vertx.core.Handler;");
    out.println("import io.vertx.core.AsyncResult;");
    out.println("import io.github.jklingsporn.vertx.jooq.async.classic.AsyncJooqSQLClient;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:7,代碼來源:ClassicAsyncVertxGenerator.java

示例11: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import io.vertx.core.Handler;");
    out.println("import io.vertx.core.AsyncResult;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq-async,代碼行數:6,代碼來源:ClassicAsyncVertxGuiceGenerator.java

示例12: generateDaoClassJavadoc

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDaoClassJavadoc(TableDefinition table, JavaWriter out) {
    super.generateDaoClassJavadoc(table, out);
    out.ref(Component.class);
    out.println("@Component");
}
 
開發者ID:ShotaOd,項目名稱:carbon,代碼行數:7,代碼來源:CarbonJooqGenerator.java

示例13: generateDAOImports

import org.jooq.util.JavaWriter; //導入方法依賴的package包/類
@Override
protected void generateDAOImports(JavaWriter out) {
    out.println("import java.util.concurrent.CompletableFuture;");
    out.println("import io.github.jklingsporn.vertx.jooq.future.util.FutureTool;");
}
 
開發者ID:jklingsporn,項目名稱:vertx-jooq,代碼行數:6,代碼來源:FutureVertxGuiceGenerator.java


注:本文中的org.jooq.util.JavaWriter.println方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。