code: public static String byteArrayAsString(final Object bytearray) throws ParseException
      {
          try
          {
              return new String((byte[]) bytearray, "ISO-8859-1");
  
          } catch (final UnsupportedEncodingException e)
          {
              throw new ParseException("Literal required, " + e.getMessage(), 0);
          }
  
      }
docs: <p>
  byteArrayAsString.
  </p>
  
  @param bytearray a {@link java.lang.Object} object.
  @return a {@link java.lang.String} object.
  @throws java.text.ParseException if any.