Class XStreamConfigReader


  • public final class XStreamConfigReader
    extends Object
    • Method Detail

      • buildXStream

        public static com.thoughtworks.xstream.XStream buildXStream()
        Builds the XStream setup which is used to read/write solver configs and benchmark configs. It should never be used to read/write solutions. Use XStreamSolutionFileIO for that instead.
        Returns:
        never null.
      • buildXStream

        public static com.thoughtworks.xstream.XStream buildXStream​(ClassLoader classLoader)
        As defined by buildXStream().
        Parameters:
        classLoader - sometimes null, ignored if null
        Returns:
        never null
      • buildXStream

        public static com.thoughtworks.xstream.XStream buildXStream​(ClassLoader classLoader,
                                                                    Class... xStreamAnnotations)
      • buildXStreamPortable

        public static com.thoughtworks.xstream.XStream buildXStreamPortable​(ClassLoader classLoader,
                                                                            Class... xStreamAnnotations)