Package org.apache.tika.parser.html
Class DataURISchemeUtil
- java.lang.Object
-
- org.apache.tika.parser.html.DataURISchemeUtil
-
public class DataURISchemeUtil extends Object
Not thread safe. Create a separate util for each thread.
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNSPECIFIED_MEDIA_TYPE
-
Constructor Summary
Constructors Constructor Description DataURISchemeUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataURIScheme>
extract(String string)
Extracts DataURISchemes from free text, as in javascript.DataURIScheme
parse(String string)
-
-
-
Field Detail
-
UNSPECIFIED_MEDIA_TYPE
public static String UNSPECIFIED_MEDIA_TYPE
-
-
Method Detail
-
parse
public DataURIScheme parse(String string) throws DataURISchemeParseException
- Throws:
DataURISchemeParseException
-
extract
public List<DataURIScheme> extract(String string)
Extracts DataURISchemes from free text, as in javascript.- Parameters:
string
-- Returns:
- list of extracted DataURISchemes
-
-