src/main/java/de/alpharogroup/xml/XmlExtensions.java
public static <T> T loadObject(final String xmlFileName) throws IOException
	{
		final InputStream is = ClassExtensions.getResourceAsStream(xmlFileName);
		return loadObject(is);
	}
public static <T> T loadObject(final String xmlFileName) throws IOException
	{
		final InputStream is = ClassExtensions.getResourceAsStream(xmlFileName);
		return loadObject(is);
	}
Load from the given file name that should represent an xml file and transform it to the
generic type object.

@param <T>
the generic type
@param xmlFileName
the xml file name
@return the object from the given xml file.
@throws IOException
Signals that an I/O exception has occurred.