src/main/java/de/alpharogroup/xml/XmlExtensions.java
private static <T> T loadObject(final InputStream is) throws IOException
	{
		final String xmlString = ReadFileExtensions.inputStream2String(is);
		final T object = XmlToObjectExtensions.toObjectWithXStream(xmlString);
		return object;
	}
private static <T> T loadObject(final InputStream is) throws IOException
	{
		final String xmlString = ReadFileExtensions.inputStream2String(is);
		final T object = XmlToObjectExtensions.toObjectWithXStream(xmlString);
		return object;
	}
Load from the given input stream that should represent an xml file and transform it to the
generic type object.

@param <T>
the generic type
@param is
the input stream
@return the object from the given input stream.
@throws IOException
Signals that an I/O exception has occurred.