code: public static String getString(Object from, Field field)
      {
          PropertyAccessor<?> accessor = PropertyAccessorFactory.getPropertyAccessor(field);
          Object object = getObject(from, field);
          return object != null ? accessor.toString(object) : null;
      }
docs: Gets the string.
  
  @param from
  the from
  @param field
  the field
  
  @return the string
  
  @throws PropertyAccessException
  the property access exception