public static XMLProperties getNonPersistedInstance(@Nonnull final InputStream in) throws IOException {
        return new XMLProperties(in);
    }
Creates a new XMLProperties object with content loaded from a stream.

Note that an instance created by this constructor cannot be used to persist changes (as it is not backed by a file).

@param in the input stream of XML.
@throws IOException if an exception occurs when reading the stream.
@return an XMLProperties instance populated with data from the stream.
xmppserver/src/main/java/org/jivesoftware/util/XMLProperties.java