Package com.nanolaba.surtur.util

Examples of com.nanolaba.surtur.util.Html2Text


    public Document readDocument(String lang1, String lang2, File file) throws IOException {
        Document document = new Document();

        FileReader in = new FileReader(file);
        try {
            Html2Text parser = new Html2Text();
            parser.parse(in);

            String text = parser.getText();

            if (text != null) {
                int size = text.length();

                String[] lines = text.split("\n");
View Full Code Here

TOP

Related Classes of com.nanolaba.surtur.util.Html2Text

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.