Class FileToObject


  • public class FileToObject
    extends java.lang.Object

    file written by json format convert to object

    Version:
    : 1.1
    Author:
    : lee cheol
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T getFile​(java.lang.Class<T> clazz)
      Create an instance and initialize it to the value of json value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFile

        public <T> T getFile​(java.lang.Class<T> clazz)
                      throws java.lang.IllegalAccessException
        Create an instance and initialize it to the value of json value
        Type Parameters:
        T - Generic Type
        Parameters:
        clazz - clazz that wants to receive input class
        Returns:
        instance full of json data
        Throws:
        java.lang.IllegalAccessException - unable to create instance.