-
public interface XmlFileToObject
If a class implements the interfaceXmlFileToObject
can transform a xml file to an object
-
-
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)
Transforms the given xmlFile
object to an object of the given class type
-
-
-
Method Detail
-
toObject
<T> T toObject(@NonNull @NonNull java.io.File xmlFile, @NonNull @NonNull java.lang.Class<T> clazz)
Transforms the given xmlFile
object to an object of the given class type- Type Parameters:
T
- the generic type of the argument object class type- Parameters:
xmlFile
- the xml fileclazz
- the class from the class type of the object that will be returned- Returns:
- the object
-
-