Ejemplo n.º 1
0
 @Override
 public String convert(Object[] args) {
   if (args == null) {
     return "null";
   }
   if (args.length == 2) {
     byte[] bytes = (byte[]) args[1];
     if (bytes == null) {
       return "null";
     } else {
       return ArrayUtils.dropToString(bytes);
     }
   }
   return "error";
 }