blob: 8507bb56bdad6ae8502c423b9e73290fb7380e1a [file] [log] [blame]
package javax.mail.internet;
import javax.mail.Address;
/**
* Mock class providing the declarations required to compile the Cocoon code when
* the actual library is not present.
*
* @version CVS $Id: InternetAddress.java,v 1.3 2003/04/17 20:28:28 haul Exp $
*/
public class InternetAddress extends Address {
public InternetAddress(String from) {
throw new NoSuchMethodError("This is a mock object");
}
public String getAddress() {
throw new NoSuchMethodError("This is a mock object");
}
public String getPersonal() {
throw new NoSuchMethodError("This is a mock object");
}
public static InternetAddress[] parse(java.lang.String addresslist)
throws AddressException {
return null;
}
}