示例#1
0
 public void writeChars(String s) {
   try {
     dataOutput.writeChars(s);
   } catch (IOException ex) {
     throw new RuntimeException(ex.getMessage());
   }
 }
示例#2
0
 @Override
 public void writeChars(String s) {
   try {
     output.writeChars(s);
   } catch (IOException impossible) {
     throw new AssertionError(impossible);
   }
 }
示例#3
0
 @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);
 }
示例#5
0
 public void writeChars(String s) throws IOException {
   out.writeChars(s);
 }