com.sun.tools.ws.processor.util
Class IndentingWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
com.sun.tools.ws.processor.util.IndentingWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class IndentingWriter
- extends java.io.BufferedWriter
- Author:
- WS Development Team
| Fields inherited from class java.io.Writer |
lock |
|
Method Summary |
protected boolean |
canEncode(java.lang.String s)
Check if encode can handle the chars in this string. |
protected void |
checkWrite()
|
protected void |
indentIn()
|
protected void |
indentOut()
|
void |
newLine()
|
void |
p(java.lang.Object o)
|
void |
p(java.lang.String s)
|
void |
p(java.lang.String s1,
java.lang.String s2)
|
void |
p(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
|
void |
p(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4)
|
void |
p(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4,
java.lang.String s5)
|
void |
pF(java.lang.String pattern,
java.lang.Object[] arguments)
|
void |
pFln(java.lang.String pattern,
java.lang.Object[] arguments)
|
void |
pI()
|
void |
pI(int levels)
|
void |
pln()
|
void |
pln(java.lang.Object o)
|
void |
pln(java.lang.String s)
|
void |
pln(java.lang.String s1,
java.lang.String s2)
|
void |
pln(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
|
void |
pln(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4)
|
void |
pln(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4,
java.lang.String s5)
|
void |
plnI(java.lang.Object o)
|
void |
plnI(java.lang.String s)
|
void |
pM(java.lang.String s)
|
void |
pMln(java.lang.String s)
|
void |
pMlnI(java.lang.String s)
|
void |
pMO(java.lang.String s)
|
void |
pMOln(java.lang.String s)
|
void |
pO()
|
void |
pO(int levels)
|
void |
pO(java.lang.Object o)
|
void |
pO(java.lang.String s)
|
void |
pOln(java.lang.Object o)
|
void |
pOln(java.lang.String s)
|
void |
pOlnI(java.lang.Object o)
|
void |
pOlnI(java.lang.String s)
|
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(java.lang.String s,
int off,
int len)
|
| Methods inherited from class java.io.BufferedWriter |
close, flush |
| Methods inherited from class java.io.Writer |
append, append, append, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndentingWriter
public IndentingWriter(java.io.Writer out)
IndentingWriter
public IndentingWriter(java.io.Writer out,
int step)
write
public void write(int c)
throws java.io.IOException
- Overrides:
write in class java.io.BufferedWriter
- Throws:
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.BufferedWriter
- Throws:
java.io.IOException
write
public void write(java.lang.String s,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.BufferedWriter
- Throws:
java.io.IOException
newLine
public void newLine()
throws java.io.IOException
- Overrides:
newLine in class java.io.BufferedWriter
- Throws:
java.io.IOException
checkWrite
protected void checkWrite()
throws java.io.IOException
- Throws:
java.io.IOException
indentIn
protected void indentIn()
indentOut
protected void indentOut()
pI
public void pI()
pO
public void pO()
pI
public void pI(int levels)
pO
public void pO(int levels)
p
public void p(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
canEncode
protected boolean canEncode(java.lang.String s)
- Check if encode can handle the chars in this string.
p
public void p(java.lang.String s1,
java.lang.String s2)
throws java.io.IOException
- Throws:
java.io.IOException
p
public void p(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
throws java.io.IOException
- Throws:
java.io.IOException
p
public void p(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4)
throws java.io.IOException
- Throws:
java.io.IOException
p
public void p(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4,
java.lang.String s5)
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln()
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln(java.lang.String s1,
java.lang.String s2)
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4)
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4,
java.lang.String s5)
throws java.io.IOException
- Throws:
java.io.IOException
plnI
public void plnI(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pO
public void pO(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pOln
public void pOln(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pOlnI
public void pOlnI(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
p
public void p(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
pln
public void pln(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
plnI
public void plnI(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
pO
public void pO(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
pOln
public void pOln(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
pOlnI
public void pOlnI(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
pM
public void pM(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pMln
public void pMln(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pMlnI
public void pMlnI(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pMO
public void pMO(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pMOln
public void pMOln(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
pF
public void pF(java.lang.String pattern,
java.lang.Object[] arguments)
throws java.io.IOException
- Throws:
java.io.IOException
pFln
public void pFln(java.lang.String pattern,
java.lang.Object[] arguments)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.