Interface XmlFileToObject


  • public interface XmlFileToObject
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T toObject​(@NonNull java.io.File xmlFile, @NonNull java.lang.Class<T> clazz)
      Transformes the given xml string to an Object of type T.
    • Method Detail

      • toObject

        <T> T toObject​(@NonNull
                       @NonNull java.io.File xmlFile,
                       @NonNull
                       @NonNull java.lang.Class<T> clazz)
        Transformes the given xml string to an Object of type T.
        Type Parameters:
        T - the generic type of the return type
        Parameters:
        xmlFile - the xml file
        clazz - the class from the object that will be returned
        Returns:
        the Object.