public class TikaParser extends Object implements IFileParser
IFileParser
to deal with Parser
for most content-types.Constructor and Description |
---|
TikaParser() |
public String extract(File inputFile) throws ParseException, FileNotFoundException
extract
in interface IFileParser
ParseException
FileNotFoundException
public String extract(File inputFile, Charset charset) throws ParseException, FileNotFoundException
extract
in interface IFileParser
ParseException
FileNotFoundException
public String extract(InputStream inputStream, Charset charset) throws ParseException
extract
in interface IFileParser
ParseException
public String extract(InputStream inputStream) throws ParseException, IOException
IFileParser
extract
in interface IFileParser
inputStream
- the input stream.ParseException
- if an error occurred while parsing
stream content.IOException
- if an I/O error occurred.Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.