Package org.jboss.resteasy.util

## Class StringToPrimitive

- java.lang.Object
- - org.jboss.resteasy.util.StringToPrimitive

-     public class StringToPrimitive
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `StringToPrimitive()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static boolean` | `isPrimitive​(Class<?> primitiveType)` | Include string as a primitive type
    `static Object` | `stringToPrimitiveBoxType​(Class<?> primitiveType, String value)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StringToPrimitive

          public StringToPrimitive()

  - ### Method Detail

    - #### isPrimitive

          public static boolean isPrimitive​(Class<?> primitiveType)

      Include string as a primitive type
      Parameters:
        `primitiveType` -
      Returns:

    - #### stringToPrimitiveBoxType

          public static Object stringToPrimitiveBoxType​(Class<?> primitiveType,
                                                        String value)