org.apache.sling.jcr.contentloader.internal
Interface JcrContentHelper

All Known Implementing Classes:
ContentLoaderService, DefaultContentImporter

public interface JcrContentHelper

Interface to provide helpers for the ContentCreator


Method Summary
 String digestPassword(String pwd)
          Digest the given password using the configured digest algorithm
 String getMimeType(String name)
          Returns the MIME type from the MimeTypeService for the given name
 

Method Detail

getMimeType

String getMimeType(String name)
Returns the MIME type from the MimeTypeService for the given name

Parameters:
name - the name of the file to get the mimeType for

digestPassword

String digestPassword(String pwd)
                      throws IllegalArgumentException
Digest the given password using the configured digest algorithm

Parameters:
pwd - the password to digest
Returns:
digested password
Throws:
IllegalArgumentException


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.