/* EmailInStorm.java * * Copyright (c) 2002, Anton Feldmann * * You may use and distribute under the terms of either the GNU Lesser * General Public License, either version 2 of the license or, * at your choice, any later version. Alternatively, you may use and * distribute under the terms of the XPL. * * See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of * the licenses. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README * file for more details. * */ /* * Written by Anton Feldmann */ package gzz.modules.email; import gzz.media.Enfilade1D; /** A representation of an email stored in Storm, as Xanalogical text. * Has methods for getting some headers (From, To, Date, and Subject) * and the body as Enfilade1D objects. */ public interface EmailInStorm{ /** Get an Enfilade1D object containing the From header of the email. */ Enfilade1D getFrom(); /**Get an Enflilade1D object containing the To header of the email */ Enfilade1D getTo(); /**Get an Enfilade1D object containing the Subject header of the email. */ Enfilade1D getSubject(); /**Get an Enfilade1D object containing the Date header of the email. */ Enfilade1D getDate(); /**Get an Enfilade1D object containing the body of the email. */ Enfilade1D getBody(); }