1 17 package org.alfresco.repo.content.transform; 18 19 import java.util.Map ; 20 21 import org.alfresco.service.cmr.repository.ContentIOException; 22 import org.alfresco.service.cmr.repository.ContentReader; 23 import org.alfresco.service.cmr.repository.ContentWriter; 24 25 30 public interface ContentTransformer 31 { 32 45 public double getReliability(String sourceMimetype, String targetMimetype); 46 47 56 public long getTransformationTime(); 57 58 61 public void transform(ContentReader reader, ContentWriter writer) throws ContentIOException; 62 63 82 public void transform( 83 ContentReader reader, 84 ContentWriter writer, 85 Map <String , Object > options) throws ContentIOException; 86 } 87 | Popular Tags |