FeatureUtils { public static FeatureDefinition readFeatureDefinition(String targetFeaturesData) throws IOException { BufferedReader in = new BufferedReader(new StringReader(targetFeaturesData)); try { return new FeatureDefinition(in, false); } finally { in.close(); } }  static FeatureDefinition readFeatureDefinition(String targetFeaturesData); static FeatureDefinition readFeatureDefinition(InputStream featureStream); static FeatureVector[] readFeatureVectors(String targetFeaturesData);  }
@Test public void testReadFeatureDefinition() throws IOException { FeatureDefinition def = FeatureUtils.readFeatureDefinition(targetfeatures); assertNotNull(def); }