| 23 | public WebInfo(){} |
| 24 | |
| 25 | public String toString(){ |
| 26 | String str = ""; |
| 27 | str = str + this.domain + "\t"; |
| 28 | str = str + this.ip + "\t"; |
| 29 | str = str + this.title + "\t"; |
| 30 | str = str + this.http_server + "\t"; |
| 31 | str = str + this.http_server_version + "\t"; |
| 32 | str = str + this.language + "\t"; |
| 33 | return str; |
| 34 | } |
| 35 | |
| 36 | public boolean checkComplete() { |
| 37 | return this.title != null && this.title.length() > 0 && this.http_server != null && this.http_server.length() > 0 && this.language != null && this.language.length() > 0; |