KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > utils > fileparsers > FileExtractor


1 package org.jahia.utils.fileparsers;
2
3 import java.io.InputStream JavaDoc;
4
5 public interface FileExtractor {
6
7     /**
8      *
9      * @param path String
10      * @param lastModified long
11      * @param fileStream InputStream
12      * @throws Exception
13      * @return String
14      */

15     public abstract String JavaDoc getContentAsString(String JavaDoc path,
16                                               long lastModified,
17                                               InputStream JavaDoc fileStream)
18     throws Exception JavaDoc;
19
20     /**
21      *
22      * @param path String
23      * @param lastModified long
24      * @param fileStream InputStream
25      * @return String
26      */

27     public abstract String JavaDoc getContentAsString(String JavaDoc path,
28                                               long lastModified,
29                                               InputStream JavaDoc fileStream,
30                                               String JavaDoc charSet) throws Exception JavaDoc;
31
32 }
33
Popular Tags