| java.lang.Object com.sun.portal.search.util.DocumentConverter
DocumentConverter | public class DocumentConverter (Code) | | |
Method Summary | |
public void | ConvertToSOIF(SOIF s, String attributeSrc, String attributeDest, boolean deleteSrc) Converts an attached file, which is stored as a soif attribute, into a html. |
converterUsage | final public static String converterUsage(Code) | | cli pattern
|
scriptExtension | final public static String scriptExtension(Code) | | |
DocumentConverter | public DocumentConverter(String serverRoot, String tempDir)(Code) | | Creates a new instance of DocumentConverter
Parameters: serverRoot - search server root Parameters: tempDir - tmp dir |
ConvertToSOIF | public void ConvertToSOIF(SOIF s, String attributeSrc, String attributeDest, boolean deleteSrc)(Code) | | Converts an attached file, which is stored as a soif attribute, into a html.
It ,then, extracts meta tags from the html, such as title and author.
Parameters: s - SOIF object with attached file. Parameters: attributeSrc - The attribute holds the file data Parameters: attributeDest - The attribute for holding extracted text Parameters: deleteSrc - true - delete the attached file.false - keep it. |
|
|