lumis.util.parse
Interface IFileParser
- All Known Implementing Classes:
- BaseFileParser, DocParser, HtmlParser, PdfParser, TikaParser, TxtParser
public interface IFileParser
Extracts text content from a file.
- Since:
- 4.0.10
extract
String extract(File inputFile)
throws ParseException,
FileNotFoundException
- Throws:
ParseException
FileNotFoundException
extract
String extract(File inputFile,
Charset charset)
throws ParseException,
FileNotFoundException
- Throws:
ParseException
FileNotFoundException
extract
String extract(InputStream inputtream,
Charset charset)
throws ParseException
- Throws:
ParseException
extract
String extract(InputStream inputStream)
throws ParseException,
IOException
- Extract text from an input stream.
- Parameters:
inputStream
- the input stream.
- Returns:
- the text extracted.
- Throws:
ParseException
- if an error occurred while parsing
stream content.
IOException
- if an I/O error occurred.- Since:
- 4.2.2
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.