Package org.opoo.press.importer

Examples of org.opoo.press.importer.WordPressImporter


      entries.putAll(replaceEntries);
    }
    props.put("content_replacements", entries);
    props.put("file", file.getAbsoluteFile());

    WordPressImporter importer = new WordPressImporter();
    try {
      Site site = siteManager.createSite(siteDir);
      importer.doImport(site, props);
    } catch (ImportException e) {
      throw new MojoFailureException(e.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of org.opoo.press.importer.WordPressImporter

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.