public void writeChars(String s) { try { dataOutput.writeChars(s); } catch (IOException ex) { throw new RuntimeException(ex.getMessage()); } }
@Override public void writeChars(String s) { try { output.writeChars(s); } catch (IOException impossible) { throw new AssertionError(impossible); } }
@Override public void writeData(DataOutput writer) throws IOException { for (Map.Entry<String, DataTagBase> entry : dataMap.entrySet()) { writer.write(entry.getValue().getId()); writer.writeChars(entry.getKey()); entry.getValue().writeData(writer); } writer.write(0); }
@Override public void writeChars(String s) throws IOException { dataOutput.writeChars(s); }
public void writeChars(String s) throws IOException { out.writeChars(s); }