0

I'm new to Java and would like to ask whether does Java has a built-in library for Analytic Hierarchy Process(AHP) and HTML parser?

If there is what's library syntax?

I've read somewhere there's lots of HTML parser for Java. Which is the best parser that able to parse HTTPS?

Anthon
  • 69,918
  • 32
  • 186
  • 246
Poh Sun
  • 75
  • 1
  • 2
  • 11

3 Answers3

0

The best I've seen so far is HtmlCleaner:

HtmlCleaner is open-source HTML parser written in Java. HTML found on Web is usually dirty, ill-formed and unsuitable for further processing. For any serious consumption of such documents, it is necessary to first clean up the mess and bring the order to tags, attributes and ordinary text. For the given HTML document, HtmlCleaner reorders individual elements and produces well-formed XML. By default, it follows similar rules that the most of web browsers use in order to create Document Object Model. However, user may provide custom tag and rule set for tag filtering and balancing.

For other html parsers see this SO question.

Community
  • 1
  • 1
fecub
  • 945
  • 10
  • 27
  • Can it parse secured HTTP? What I mean is that can it parse HTTPS? Because when I use C++ library it couldn't parse HTTPS due to secured protocol. – Poh Sun Sep 02 '13 at 15:08
  • Downloading stuff via HTTPS and parsing HTML are *orthogonal* problems. – Stephen C Sep 02 '13 at 15:28
0

try this java html parser

It is faster and easy to use with java.

Chinmay
  • 180
  • 1
  • 2
  • 13
0

There is no "built-in" implementation of AHP in Java. There are third party implementations though; e.g. Google found these for me:

(You'll need to check them out for yourself ...)

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216