public void print(boolean flag) throws IOException { if (writer != null) { writer.write(flag ? "true" : "false"); } else { write(flag ? "true" : "false"); } }
/** * Write an array of characters. This method cannot be inherited from the * Writer class because it must suppress I/O exceptions. */ public void write(char[] buf) throws IOException { if (writer != null) { writer.write(buf); } else { write(buf, 0, buf.length); } }
/** * Write an array of characters. This method cannot be inherited from the * Writer class because it must suppress I/O exceptions. */ public void write(char[] buf) throws IOException { if (writer != null) { writer.write(buf); } else { write(buf, 0, buf.length); } }
/** * Write an array of characters. This method cannot be inherited from the * Writer class because it must suppress I/O exceptions. */ @Override public void write(char[] buf) throws IOException { if (writer != null) { writer.write(buf); } else { write(buf, 0, buf.length); } }
public void print(char ac[]) throws IOException { if (writer != null) { writer.write(ac); } else { write(ac); } }
/** * Write an array of characters. This method cannot be inherited from the * Writer class because it must suppress I/O exceptions. */ public void write(char[] buf) throws IOException { if (writer != null) { writer.write(buf); } else { write(buf, 0, buf.length); } }
public void print(String s) throws IOException { if (s == null) { s = "null"; } if (writer != null) { writer.write(s); } else { write(s); } }
/** * Write an array of characters. This method cannot be inherited from the * Writer class because it must suppress I/O exceptions. */ @Override public void write(char[] buf) throws IOException { if (writer != null) { writer.write(buf); } else { write(buf, 0, buf.length); } }
/** * Write a string. This method cannot be inherited from the Writer class * because it must suppress I/O exceptions. */ @Override public void write(String s) throws IOException { if (writer != null) { writer.write(s); } else { write(s, 0, s.length()); } }
public void write(String s) throws IOException { if (writer != null) { writer.write(s); } else { write(s, 0, s.length()); } }
/** * Write a string. This method cannot be inherited from the Writer class * because it must suppress I/O exceptions. */ @Override public void write(String s) throws IOException { if (writer != null) { writer.write(s); } else { write(s, 0, s.length()); } }
/** * Write a string. This method cannot be inherited from the Writer class * because it must suppress I/O exceptions. */ public void write(String s) throws IOException { if (writer != null) { writer.write(s); } else { write(s, 0, s.length()); } }
public void print(float f) throws IOException { if (writer != null) { writer.write(String.valueOf(f)); } else { write(String.valueOf(f)); } }
public void print(double d) throws IOException { if (writer != null) { writer.write(String.valueOf(d)); } else { write(String.valueOf(d)); } }
public void print(long l) throws IOException { if (writer != null) { writer.write(String.valueOf(l)); } else { write(String.valueOf(l)); } }
public void print(Object obj) throws IOException { if (writer != null) writer.write(String.valueOf(obj)); else write(String.valueOf(obj)); }
public void print(Object obj) throws IOException { if (writer != null) writer.write(String.valueOf(obj)); else write(String.valueOf(obj)); }
public void print(long l) throws IOException { if (writer != null) { writer.write(String.valueOf(l)); } else { write(String.valueOf(l)); } }
public void print(float f) throws IOException { if (writer != null) { writer.write(String.valueOf(f)); } else { write(String.valueOf(f)); } }
public void print(double d) throws IOException { if (writer != null) { writer.write(String.valueOf(d)); } else { write(String.valueOf(d)); } }