T - public abstract class AbstractCodeWriter<T extends AbstractCodeWriter<T>> extends Object implements Appendable, CodeWriter
| Constructor and Description |
|---|
AbstractCodeWriter(Appendable appendable,
int spaces) |
| Modifier and Type | Method and Description |
|---|---|
T |
append(char c) |
T |
append(CharSequence csq) |
T |
append(CharSequence csq,
int start,
int end) |
T |
beginLine(String... segments) |
protected T |
goIn() |
protected T |
goOut() |
T |
line(String... segments) |
T |
nl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotation, annotation, beginClass, beginClass, beginConstructor, beginConstructor, beginInterface, beginPublicMethod, beginPublicMethod, beginStaticMethod, beginStaticMethod, end, field, getClassConstant, getGenericName, getRawName, importClasses, importPackages, imports, imports, javadoc, packageDecl, privateField, privateFinal, privateFinal, privateStaticFinal, protectedField, protectedFinal, protectedFinal, publicField, publicField, publicFinal, publicFinal, publicStaticFinal, staticimports, suppressWarnings, suppressWarningspublic AbstractCodeWriter(Appendable appendable, int spaces)
public T append(char c) throws IOException
append in interface AppendableIOExceptionpublic T append(CharSequence csq) throws IOException
append in interface AppendableIOExceptionpublic T append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic T beginLine(String... segments) throws IOException
beginLine in interface CodeWriterIOExceptionprotected T goIn()
protected T goOut()
public T line(String... segments) throws IOException
line in interface CodeWriterIOExceptionpublic T nl() throws IOException
nl in interface CodeWriterIOExceptionCopyright © 2010–2015 Mysema Ltd. All rights reserved.