Package org.deri.eurostat.dsdparser

Examples of org.deri.eurostat.dsdparser.DSDParser


 
  public void rdfize(String dsdPath, String dataPath, String tempDataPath, String dataLogPath, String tempTsvPath, String sdmxTTLFile)
  {
    writeLog("RDFizing updated datasets...");

    DSDParser dsd = new DSDParser();
    SDMXParser sdmx = new SDMXParser();
   
    File dir = new File(tempDataPath);
   
    File[] files = dir.listFiles();
   
    for(File f:files)
    {
     
      if(f.getName().contains(".dsd.xml"))
      {
        writeLog("Processing :" + f.getAbsolutePath());
        dsd = new DSDParser();
        dsd.xmlFilePath = f.getAbsolutePath();
        dsd.outputFilePath = dsdPath;
        dsd.serialization = "turtle";
        dsd.sdmx_codeFilePath = sdmxTTLFile;
        dsd.initObjects();
        dsd.parseFile();
      }
      else if(f.getName().contains(".sdmx.xml"))
      {
        writeLog("Processing :" + f.getAbsolutePath());
       
View Full Code Here


       
  }
 
  public void parseDSD(InputStream is) throws IOException
  {
    DSDParser obj = new DSDParser();
    obj.initObjects(is);
    obj.parseFile();
  }
View Full Code Here

TOP

Related Classes of org.deri.eurostat.dsdparser.DSDParser

Copyright © 2018 www.massapicom. 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.