/[gzz]/gzz/gzz/modules/email/DefaultEmailInStorm.java
ViewVC logotype

Diff of /gzz/gzz/modules/email/DefaultEmailInStorm.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by Dreevich, Sun Dec 8 14:50:04 2002 UTC revision 1.10 by benja, Thu Jan 2 00:00:49 2003 UTC
# Line 25  package gzz.modules.email; Line 25  package gzz.modules.email;
25    
26  import gzz.media.Enfilade1D;  import gzz.media.Enfilade1D;
27  import gzz.mediaserver.*;  import gzz.mediaserver.*;
28    import gzz.media.*;
29  import gzz.media.impl.*;  import gzz.media.impl.*;
30    import java.io.IOException;
31  import java.util.*;  import java.util.*;
32    
33  /** A representation of an email stored in Storm, as Xanalogical text.  /** A representation of an email stored in Storm, as Xanalogical text.
# Line 40  public class DefaultEmailInStorm impleme Line 42  public class DefaultEmailInStorm impleme
42      protected Enfilade1D date;      protected Enfilade1D date;
43      protected Enfilade1D body;      protected Enfilade1D body;
44    
45      public DefaultEmailInStorm(Mediaserver ms, Mediaserver.Id msid) {      public DefaultEmailInStorm(Mediaserver ms, Mediaserver.Id msid) throws IOException {
46          Enfilade1D.Maker maker = new Enfilade1DImpl.Enfilade1DImplMaker();          Enfilade1D.Maker maker = new Enfilade1DImpl.Enfilade1DImplMaker();
47          Mediaserver.Id bodyId = getBodyId(ms, msid);          Mediaserver.Id bodyId = getBodyId(ms, msid);
48          if(bodyId != null) {          if(bodyId != null) {
49              PermanentTextScroll pts = new PermanentTextScroll(ms, bodyId);              ScrollBlock block = ScrollBlockManager.getScrollBlock(ms, bodyId);
50              body = maker.makeEnfilade(pts.getCurrent());              body = maker.makeEnfilade(block.getCurrent());
51          } else {          } else {
52              body = maker.makeEnfilade();              body = maker.makeEnfilade();
53          }          }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26