1 package org.jahia.services.fileextraction; 2 3 import java.io.InputStream ; 4 5 6 public interface FileExtractor { 7 8 16 public abstract ExtractedDocument getExtractedDocument( 17 String path, 18 long lastModified, 19 InputStream fileStream) 20 throws Exception ; 21 22 31 public abstract ExtractedDocument getExtractedDocument( 32 String path, 33 long lastModified, 34 InputStream fileStream, 35 String charSet) 36 throws Exception ; 37 38 46 public abstract String getContentAsString(String path, 47 long lastModified, 48 InputStream fileStream) 49 throws Exception ; 50 51 58 public abstract String getContentAsString(String path, 59 long lastModified, 60 InputStream fileStream, 61 String charSet) throws Exception ; 62 63 } 64 | Popular Tags |