Author: norman
Date: Sat Apr 21 15:07:39 2007
New Revision: 531118
URL: http://svn.apache.org/viewvc?view=rev&rev=531118
Log:
Add javadocs
Fix year in txt files
Modified:
james/jspf/branches/asynch-jspf/BUILDING.txt
james/jspf/branches/asynch-jspf/NOTICE.txt
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSRequest.java
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSResponse.java
Modified: james/jspf/branches/asynch-jspf/BUILDING.txt
URL:
http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/BUILDING.txt?view=diff&rev=531118&r1=531117&r2=531118
==============================================================================
--- james/jspf/branches/asynch-jspf/BUILDING.txt (original)
+++ james/jspf/branches/asynch-jspf/BUILDING.txt Sat Apr 21 15:07:39 2007
@@ -7,12 +7,12 @@
Steps:
-1) Install maven2 (v2.0.4 as of the time of this writing)
+1) Install maven2 (v2.0.6 as of the time of this writing)
2) Add maven2 to your path. For me, I do the following:
- $ tar zxvf maven-2.0.4.tar.gz
- $ mv maven-2.0.4 /usr/local
- $ ln -sf /usr/local/maven-2.0.4/bin/mvn /usr/local/bin/mvn
+ $ tar zxvf maven-2.0.6.tar.gz
+ $ mv maven-2.0.6 /usr/local
+ $ ln -sf /usr/local/maven-2.0.6/bin/mvn /usr/local/bin/mvn
3) Change directory to jspf source dir
$ cd jspf-x/
Modified: james/jspf/branches/asynch-jspf/NOTICE.txt
URL:
http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/NOTICE.txt?view=diff&rev=531118&r1=531117&r2=531118
==============================================================================
--- james/jspf/branches/asynch-jspf/NOTICE.txt (original)
+++ james/jspf/branches/asynch-jspf/NOTICE.txt Sat Apr 21 15:07:39 2007
@@ -3,7 +3,7 @@
=================================================================
Apache James jSPF
- Copyright 2006 The Apache Software Foundation
+ Copyright 2007 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Modified:
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSRequest.java
URL:
http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSRequest.java?view=diff&rev=531118&r1=531117&r2=531118
==============================================================================
---
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSRequest.java
(original)
+++
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSRequest.java
Sat Apr 21 15:07:39 2007
@@ -35,11 +35,21 @@
this.hostname = hostname;
this.recordType = recordType;
}
-
+
+ /**
+ * Return the hostname to process the request for
+ *
+ * @return the hostname
+ */
public String getHostname() {
return hostname;
}
+ /**
+ * Return the RecordType which is use for this request
+ *
+ * @return the RecordType
+ */
public int getRecordType() {
return recordType;
}
Modified:
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSResponse.java
URL:
http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSResponse.java?view=diff&rev=531118&r1=531117&r2=531118
==============================================================================
---
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSResponse.java
(original)
+++
james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSResponse.java
Sat Apr 21 15:07:39 2007
@@ -23,6 +23,10 @@
import java.util.List;
+/**
+ * Represent a DNSResponse
+ *
+ */
public class DNSResponse {
private List response;
@@ -39,6 +43,13 @@
this.response = response;
}
+ /**
+ * Returns the DNS response
+ *
+ * @return the dns repsonse
+ * @throws TimeoutException get thrown if an timeout was returned while
tried to
+ * process a dns request
+ */
public List getResponse() throws TimeoutException {
if (exception != null) {
throw exception;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]