projects
/
org.ibex.mail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatting
[org.ibex.mail.git]
/
src
/
org
/
ibex
/
mail
/
Target.java
diff --git
a/src/org/ibex/mail/Target.java
b/src/org/ibex/mail/Target.java
index
f845f9f
..
952a46f
100644
(file)
--- a/
src/org/ibex/mail/Target.java
+++ b/
src/org/ibex/mail/Target.java
@@
-1,11
+1,14
@@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
package org.ibex.mail;
import java.io.*;
import org.ibex.js.*;
package org.ibex.mail;
import java.io.*;
import org.ibex.js.*;
+import org.ibex.mail.target.*;
/** base class for mail message "destinations" */
/** base class for mail message "destinations" */
-public class Target {
+public interface Target {
public static final Target root = Script.root();
public static final Target root = Script.root();
- public void accept(Message m) throws IOException, MailException {
- throw new MailException("Target.accept() unimplemented");
- }
+ public abstract void accept(Message m) throws IOException, MailException;
}
}