class EcmFileToSolrTransformer implements AcmObjectToSolrDocTransformer<EcmFile> {

    @Override
    public SolrContentDocument toContentFileIndex(EcmFile in)
    {
        if (enableContentFileIndexing)
        {
            return mapContentDocumentProperties(in);
        }

        return null;
    }

}