Class ObjectUtils

java.lang.Object
org.openl.util.ObjectUtils

public class ObjectUtils extends Object
Set of utilities for manipulating with objects.
Author:
Yury Molchan
  • Constructor Details

    • ObjectUtils

      public ObjectUtils()
  • Method Details

    • convert

      public static Object convert(String value, Class<?> type)
      Converts a string to the value of the given type.
      Parameters:
      value - an input string for conversion to an object value.
      type - a type of the result.
      Returns:
      an object value of the given type.