| java.lang.Object de.anomic.plasma.plasmaParser
plasmaParser | final public class plasmaParser (Code) | | |
Method Summary | |
public static boolean | HTMLParsableMimeTypesContains(String mimeType) | static Map<yacyURL, String> | allReflinks(Set> links) | static Map<yacyURL, String> | allSubpaths(Set> links) | public static boolean | appsExtContains(String appsExt) | public static boolean | audioExtContains(String audioExt) | public void | close() | public static List<String> | extString2extList(String extString) | public HashMap<String, ParserInfo> | getAvailableParserList() | public static String | getFileExt(yacyURL url) | public serverLog | getLogger() | public static String | getMediaExtList() | public static String | getMimeTypeByFileExt(String fileExt) | public static HashMap<String, plasmaParserConfig> | getParserConfigList() | public static String | getRealCharsetEncoding(String encoding) | public static boolean | imageExtContains(String imageExt) | public static void | initAppsExt(List<String> appsExtList) | public static void | initAudioExt(List<String> audioExtList) | public static void | initHTMLParsableMimeTypes(String htmlParsableMimeTypes) This function is used to initialize the HTMLParsableMimeTypes List. | public static void | initImageExt(List<String> imageExtList) | public static void | initMediaExt(List<String> mediaExtList) | public static void | initParseableMimeTypes(String parserMode, String configStr) | public static void | initSupportedHTMLFileExt(List<String> supportedRealtimeFileExtList) | public static void | initVideoExt(List<String> videoExtList) | public static void | main(String[] args) | public static Parser | makeParser(Object name) | public static boolean | mediaExtContains(String mediaExt) | public static String | normalizeMimeType(String mimeType) | public plasmaParserDocument | parseSource(yacyURL location, String mimeType, String charset, byte[] sourceArray) | public plasmaParserDocument | parseSource(yacyURL location, String theMimeType, String theDocumentCharset, File sourceFile) | public plasmaParserDocument | parseSource(yacyURL location, String theMimeType, String theDocumentCharset, long contentLength, InputStream sourceStream) | public static String[] | setEnabledParserList(String parserMode, Set<String> mimeTypeSet) | public static boolean | supportedContent(yacyURL url, String mimeType) | public static boolean | supportedContent(String parserMode, yacyURL url, String mimeType) | public static boolean | supportedFileExtContains(String fileExt) | public static boolean | supportedHTMLContent(yacyURL url, String mimeType) | public static boolean | supportedHTMLFileExtContains(yacyURL url) | public static boolean | supportedMimeTypesContains(String mimeType) | public plasmaParserDocument | transformScraper(yacyURL location, String mimeType, String charSet, htmlFilterContentScraper scraper) | public static boolean | videoExtContains(String videoExt) |
PARSER_MODE_CRAWLER | final public static String PARSER_MODE_CRAWLER(Code) | | |
PARSER_MODE_ICAP | final public static String PARSER_MODE_ICAP(Code) | | |
PARSER_MODE_IMAGE | final public static String PARSER_MODE_IMAGE(Code) | | |
PARSER_MODE_PROXY | final public static String PARSER_MODE_PROXY(Code) | | |
PARSER_MODE_URLREDIRECTOR | final public static String PARSER_MODE_URLREDIRECTOR(Code) | | |
supportedHTMLFileExt | final public static HashSet<String> supportedHTMLFileExt(Code) | | A list of file extensions and mime types that are supported by the html-parser
|
HTMLParsableMimeTypesContains | public static boolean HTMLParsableMimeTypesContains(String mimeType)(Code) | | |
appsExtContains | public static boolean appsExtContains(String appsExt)(Code) | | |
audioExtContains | public static boolean audioExtContains(String audioExt)(Code) | | |
close | public void close()(Code) | | |
imageExtContains | public static boolean imageExtContains(String imageExt)(Code) | | |
initHTMLParsableMimeTypes | public static void initHTMLParsableMimeTypes(String htmlParsableMimeTypes)(Code) | | This function is used to initialize the HTMLParsableMimeTypes List.
This list contains a list of mimeTypes that can be parsed in realtime by
the yacy html-Parser
Parameters: htmlParsableMimeTypes - a list of mimetypes that can be parsed by the yacy html parser |
initParseableMimeTypes | public static void initParseableMimeTypes(String parserMode, String configStr)(Code) | | |
initSupportedHTMLFileExt | public static void initSupportedHTMLFileExt(List<String> supportedRealtimeFileExtList)(Code) | | |
mediaExtContains | public static boolean mediaExtContains(String mediaExt)(Code) | | |
supportedFileExtContains | public static boolean supportedFileExtContains(String fileExt)(Code) | | |
supportedHTMLContent | public static boolean supportedHTMLContent(yacyURL url, String mimeType)(Code) | | |
supportedHTMLFileExtContains | public static boolean supportedHTMLFileExtContains(yacyURL url)(Code) | | |
supportedMimeTypesContains | public static boolean supportedMimeTypesContains(String mimeType)(Code) | | |
videoExtContains | public static boolean videoExtContains(String videoExt)(Code) | | |
|
|