lumis.util.parse
Interface IFileParser

Package class diagram package IFileParser
All Known Implementing Classes:
BaseFileParser, DocParser, HtmlParser, PdfParser, TxtParser

public interface IFileParser

Extracts text content from a file.

Since:
4.0.10

Method Summary
 String extract(File inputFile)
           
 String extract(File inputFile, Charset charset)
           
 String extract(InputStream inputtream, Charset charset)
           
 

Method Detail

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


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.