コード例 #1
0
 public byte[] toByteArray() {
   Map<String, byte[]> datas = new HashMap<>();
   Iterator<Map.Entry<String, Property>> itr = propMap.entrySet().iterator();
   while (itr.hasNext()) {
     Map.Entry<String, Property> entry = itr.next();
     Property prop = entry.getValue();
     datas.put(prop.key, prop.value.getBytes());
   }
   return EncodeUtil.toByteArray(datas);
 }