@Override public void write(char[] c, int offset, int bytes) { try { out.write(c, offset, bytes); } catch (IOException e) { throw new RuntimeException(e); } } @Override
@Override public GenericWriter write(boolean v) { try { out.write(v); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public GenericWriter write(double d) { try { out.write(d); } catch (IOException e) { throw new RuntimeException(e); } return this; }
public GenericWriter write(short i) throws java.io.IOException { write(String.valueOf(i)); return this; } public GenericWriter write(byte i) throws java.io.IOException {
public GenericWriter write(float i) throws java.io.IOException { write(String.valueOf(i)); return this; } public GenericWriter write(boolean i) throws java.io.IOException {
@Override public GenericWriter write(float f) { try { out.write(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public GenericWriter write(long v) { try { out.write(v); } catch (IOException e) { throw new RuntimeException(e); } return this; } @Override
public GenericWriter write(double i) throws java.io.IOException { write(String.valueOf(i)); return this; } public GenericWriter write(float i) throws java.io.IOException {
@Override public GenericWriter write(AbstractUtf8Array v) { try { out.write(v); } catch (IOException e) { throw new RuntimeException(e); } return this; } @Override
@Override public void write(int v) { try { out.write(v); } catch (IOException e) { throw new RuntimeException(e); } } @Override
@Override public void write(String v) { try { out.write(v); } catch (IOException e) { throw new RuntimeException(e); } } @Override
@Override public GenericWriter write(CharSequence c) { try { out.write(c); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public GenericWriter write(short v) { try { out.write(v); } catch (IOException e) { throw new RuntimeException(e); } return this; } @Override
@Override public GenericWriter write(char c) { try { out.write(c); } catch (IOException e) { throw new RuntimeException(e); } return this; } @Override
@Override public GenericWriter write(byte b) { try { out.write(b); } catch (IOException e) { throw new RuntimeException(e); } return this; }
public GenericWriter write(char c) throws java.io.IOException { char t[] = new char[1]; t[0] = c; try { write(t, 0, 1); } catch (IOException e) { throw new RuntimeException(e); } return this; }
public GenericWriter write(byte i) throws java.io.IOException { write(String.valueOf(i)); return this; } public GenericWriter write(double i) throws java.io.IOException {
public GenericWriter write(boolean i) throws java.io.IOException { write(String.valueOf(i)); return this; }
public GenericWriter write(CharSequence s) throws java.io.IOException { for (int i=0, m=s.length(); i < m; i++) { write(s.charAt(i)); } return this; }
public GenericWriter write(AbstractUtf8Array v) throws java.io.IOException { write(v.toString()); return this; } }