예제 #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);
 }