1 13 package org.jahia.services.fileextraction; 14 15 import java.io.InputStream ; 16 17 import org.jahia.exceptions.JahiaException; 18 import org.jahia.services.*; 19 20 27 public abstract class JahiaFileExtractionService extends JahiaService { 28 29 36 public abstract FileExtractor getFileExtractor(String contentType) 37 throws JahiaException; 38 39 49 public abstract ExtractedDocument getExtractedDocument( String contentType, 50 String cacheKey, 51 long lastModified, 52 boolean allowCache, 53 InputStream fileStream) 54 throws Exception ; 55 56 67 public abstract ExtractedDocument getExtractedDocument( String contentType, 68 String cacheKey, 69 long lastModified, 70 boolean allowCache, 71 InputStream fileStream, 72 String charSet) 73 throws Exception ; 74 75 } 76 | Popular Tags |