Examples of dbValue()


Examples of de.fuberlin.wiwiss.d2rq.map.TranslationTable.Translation.dbValue()

    String csv = "key,value";
    Collection<Translation> translations = new TranslationTableParser(
        new StringReader(csv)).parseTranslations();
    assertEquals(1, translations.size());
    Translation t = (Translation) translations.iterator().next();
    assertEquals("key", t.dbValue());
    assertEquals("value", t.rdfValue());
  }
 
  public void testTwoRows() {
    String csv = "db1,rdf1\ndb2,rdf2";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.