public InstallableResource convertNode()

in src/main/java/org/apache/sling/installer/provider/jcr/impl/FileNodeConverter.java [46:62]


	public InstallableResource convertNode(
	        final Node n,
	        final int priority)
	throws RepositoryException {
	    final String nodePath = n.getPath();
		if (n.hasProperty(JCR_CONTENT_DATA) && n.hasProperty(JCR_CONTENT_LAST_MODIFIED)) {
			try {
				return convert(n, nodePath, priority);
			} catch (final IOException ioe) {
			    logger.info("Conversion failed, node {} ignored ({})", nodePath, ioe);
			}
		} else {
		    logger.debug("Node {} has no {} properties, ignored", nodePath,
    				JCR_CONTENT_DATA + " or " + JCR_CONTENT_LAST_MODIFIED);
	    }
		return null;
	}