/** Write a segment of the given String. */ public void write(String s, int off, int len) throws IOException { for (int i = off; i < off + len; i++) { write(s.charAt(i)); } }
/** Print a single character (unsupported). */ public void print(int ch) throws IOException { write(ch); throw new RuntimeException(); }
/** Write a segment of the given String. */ public void write(String s, int off, int len) throws IOException { for(int i = off; i < off + len; i++) write(s.charAt(i)); }
/** Print a single character (unsupported). */ public void print(int ch) throws IOException { write(ch); throw new RuntimeException(); }
/** Print a single character (unsupported). */ public void print(int ch) throws IOException { write(ch); throw new RuntimeException(); }
/** Write a segment of the given String. */ public void write(String s, int off, int len) throws IOException { for(int i = off; i < off + len; i++) write(s.charAt(i)); }