Returns the answers from the lookup. @return The answers, or null if none are found. @throws IllegalStateException The lookup has not completed.
()
| 601 | * @throws IllegalStateException The lookup has not completed. |
| 602 | */ |
| 603 | public Record [] |
| 604 | getAnswers() { |
| 605 | checkDone(); |
| 606 | return answers; |
| 607 | } |
| 608 | |
| 609 | /** |
| 610 | * Returns all known aliases for this name. Whenever a CNAME/DNAME is |