Example usage for weka.core.xml XStream write

List of usage examples for weka.core.xml XStream write

Introduction

In this page you can find the example usage for weka.core.xml XStream write.

Prototype

public static boolean write(Writer writer, Object toSerialize) throws Exception 

Source Link

Document

writes the XML-serialized object to the given Writer.

Usage

From source file:reactivetechnologies.sentigrade.dto.ClassifiedModel.java

License:Open Source License

public void writeModel(OutputStream stream) throws Exception {
    XStream.write(stream, model);
}