/** * Print a boolean value and then terminate the line. This method behaves * as though it invokes <code>{@link #print(boolean)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(boolean x) throws IOException { print(x); println(); }
/** * Print an integer and then terminate the line. This method behaves as * though it invokes <code>{@link #print(int)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(int x) throws IOException { print(x); println(); }
/** * Print an array of characters and then terminate the line. This method * behaves as though it invokes <code>{@link #print(char[])}</code> and * then <code>{@link #println()}</code>. * * @throws IOException */ public void println(char x[]) throws IOException { print(x); println(); }
/** * Print a double-precision floating-point number and then terminate the * line. This method behaves as though it invokes <code>{@link * #print(double)}</code> and then <code>{@link #println()}</code>. * * @throws IOException */ public void println(double x) throws IOException{ print(x); println(); }
/** * Print a floating-point number and then terminate the line. This method * behaves as though it invokes <code>{@link #print(float)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ @Override public void println(float x) throws IOException { print(x); println(); }
/** * Print an integer and then terminate the line. This method behaves as * though it invokes <code>{@link #print(int)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(int x) throws IOException { print(x); println(); }
/** * Print a double-precision floating-point number and then terminate the * line. This method behaves as though it invokes <code>{@link * #print(double)}</code> and then <code>{@link #println()}</code>. * * @throws IOException */ public void println(double x) throws IOException{ print(x); println(); }
/** * Print a character and then terminate the line. This method behaves as * though it invokes <code>{@link #print(char)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(char x) throws IOException { print(x); println(); }
/** * Print a boolean value and then terminate the line. This method behaves * as though it invokes <code>{@link #print(boolean)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ @Override public void println(boolean x) throws IOException { print(x); println(); }
/** * Print an array of characters and then terminate the line. This method * behaves as though it invokes <code>{@link #print(char[])}</code> and * then <code>{@link #println()}</code>. * * @throws IOException */ @Override public void println(char x[]) throws IOException { print(x); println(); }
/** * Print a character and then terminate the line. This method behaves as * though it invokes <code>{@link #print(char)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(char x) throws IOException { print(x); println(); }
/** * Print a double-precision floating-point number and then terminate the * line. This method behaves as though it invokes <code>{@link * #print(double)}</code> and then <code>{@link #println()}</code>. * * @throws IOException */ public void println(double x) throws IOException{ print(x); println(); }
/** * Print a character and then terminate the line. This method behaves as * though it invokes <code>{@link #print(char)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(char x) throws IOException { print(x); println(); }
/** * Print a String and then terminate the line. This method behaves as * though it invokes <code>{@link #print(String)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(String x) throws IOException { print(x); println(); }
/** * Print a boolean value and then terminate the line. This method behaves * as though it invokes <code>{@link #print(boolean)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ @Override public void println(boolean x) throws IOException { print(x); println(); }
/** * Print a long integer and then terminate the line. This method behaves * as though it invokes <code>{@link #print(long)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ @Override public void println(long x) throws IOException { print(x); println(); }
/** * Print a String and then terminate the line. This method behaves as * though it invokes <code>{@link #print(String)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ @Override public void println(String x) throws IOException { print(x); println(); }
/** * Print a floating-point number and then terminate the line. This method * behaves as though it invokes <code>{@link #print(float)}</code> and then * <code>{@link #println()}</code>. * * @throws IOException */ public void println(float x) throws IOException { print(x); println(); }
/** * Print a double-precision floating-point number and then terminate the * line. This method behaves as though it invokes <code>{@link * #print(double)}</code> and then <code>{@link #println()}</code>. * * @throws IOException */ public void println(double x) throws IOException{ print(x); println(); }
public static void main (String[] args) throws Exception { char[] buff = {'f','o','o','b','a','r','b','a','z','y'}; BodyContentImpl bodyContent = new BodyContentImpl(new JspWriterImpl(null, 100, false)); bodyContent.println (buff); System.out.println (bodyContent.getString ()); bodyContent.writeOut (new PrintWriter( new OutputStreamWriter(System.out,"UTF-8"))); }