java plugin: Change the API to use the `DataSet' class.
[collectd.git] / bindings / java / org / collectd / api / CollectdAPI.java
index 89d9c16..167112f 100644 (file)
 
 package org.collectd.api;
 
-import java.util.List;
-import org.collectd.api.ValueList;
-import org.collectd.api.DataSource;
-
 public class CollectdAPI
 {
   native public static int DispatchValues (ValueList vl);
 
-  native public static List<DataSource> GetDS (String type);
+  native public static DataSet GetDS (String type);
 } /* class CollectdAPI */
 
 /* vim: set sw=2 sts=2 et fdm=marker : */