private String findPageByID()

in src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java [122:133]


    private String findPageByID(SiteExporter siteExporter, String url) throws Exception {
        AbstractPage p = siteExporter.findPageByID(url);
        if (p != null) {
            String prefix = getRelativePath(SiteExporter.rootOutputDir, getPageDirectory(), siteExporter.outputDir);
            String location = prefix + p.getPath();
            if (exporter != siteExporter) {
                System.out.println("Cross space link (via id) to " + location);
            }
            return location;
        }
        return null;
    }