serialize DeltaRequest @see DeltaRequest#writeExternal(java.io.ObjectOutput) @return serialized delta request @throws IOException IO error serializing
()
| 477 | * @throws IOException IO error serializing |
| 478 | */ |
| 479 | protected byte[] serialize() throws IOException { |
| 480 | ByteArrayOutputStream bos = new ByteArrayOutputStream(); |
| 481 | ObjectOutputStream oos = new ObjectOutputStream(bos); |
| 482 | writeExternal(oos); |
| 483 | oos.flush(); |
| 484 | oos.close(); |
| 485 | return bos.toByteArray(); |
| 486 | } |
| 487 | |
| 488 | private static class AttributeInfo implements Externalizable { |
| 489 | private String name = null; |
no test coverage detected