gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] alph ./TODO doc/alph.rst org/nongnu/alph/impl/F...


From: Tuomas J. Lukka
Subject: [Gzz-commits] alph ./TODO doc/alph.rst org/nongnu/alph/impl/F...
Date: Mon, 26 May 2003 05:24:58 -0400

CVSROOT:        /cvsroot/alph
Module name:    alph
Changes by:     Tuomas J. Lukka <address@hidden>        03/05/26 05:24:58

Modified files:
        .              : TODO 
        doc            : alph.rst 
        org/nongnu/alph/impl: FakeTextSpan.java 
Added files:
        doc            : alphimpl.rst 

Log message:
        more

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/alph/alph/TODO.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/alph/alph/doc/alphimpl.rst?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/alph/alph/doc/alph.rst.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/alph/alph/org/nongnu/alph/impl/FakeTextSpan.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: alph/TODO
diff -u alph/TODO:1.1 alph/TODO:1.2
--- alph/TODO:1.1       Sun Apr  6 01:56:08 2003
+++ alph/TODO   Mon May 26 05:24:58 2003
@@ -1,2 +1,3 @@
+    - figure out the Alph.getBlockInputStream stuff...
 
     - Enfilade span iterators
Index: alph/doc/alph.rst
diff -u alph/doc/alph.rst:1.3 alph/doc/alph.rst:1.4
--- alph/doc/alph.rst:1.3       Mon May 26 04:40:57 2003
+++ alph/doc/alph.rst   Mon May 26 05:24:58 2003
@@ -167,9 +167,24 @@
 The file may be temporary, which is why it is important to
 explicitly ``close()`` the ``BlockFile`` after use.
 
+XXX getBlockInputStream, delegation to Alph?
 
 The central media repository class: ``Alph``
 ============================================
 
-b
+Finally, there is a central class ``Alph`` which
+takes care of finding ScrollBlocks based on URIs,
+adding files etc.
+
+
+..  UML:: alph_alph
+
+    class Alph
+       assoc compos - multi(*) ScrollBlock
+       methods
+           ScrollBlock getScrollBlock(String uri)
+           ScrollBlock addFile(File f, String contentType)
+
+    class ScrollBlock
+
 
Index: alph/org/nongnu/alph/impl/FakeTextSpan.java
diff -u alph/org/nongnu/alph/impl/FakeTextSpan.java:1.5 
alph/org/nongnu/alph/impl/FakeTextSpan.java:1.6
--- alph/org/nongnu/alph/impl/FakeTextSpan.java:1.5     Mon Apr 21 12:31:23 2003
+++ alph/org/nongnu/alph/impl/FakeTextSpan.java Mon May 26 05:24:58 2003
@@ -2,21 +2,22 @@
 FakeTextSpan.java
  *    
  *    Copyright (c) 2002, Ted Nelson and Tuomas Lukka
+ *    Copyright (c) 2003, Tuomas Lukka
  *
- *    This file is part of Gzz.
+ *    This file is part of Alph.
  *    
- *    Gzz is free software; you can redistribute it and/or modify it under
+ *    Alph is free software; you can redistribute it and/or modify it under
  *    the terms of the GNU Lesser General Public License as published by
  *    the Free Software Foundation; either version 2 of the License, or
  *    (at your option) any later version.
  *    
- *    Gzz is distributed in the hope that it will be useful, but WITHOUT
+ *    Alph 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 GNU Lesser General
  *    Public License for more details.
  *    
  *    You should have received a copy of the GNU Lesser General
- *    Public License along with Gzz; if not, write to the Free
+ *    Public License along with Alph; if not, write to the Free
  *    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  *    MA  02111-1307  USA
  *    
@@ -38,18 +39,12 @@
  */
 
 public class FakeTextSpan implements TextSpan, java.io.Serializable {
-public static final String rcsid = "$Id: FakeTextSpan.java,v 1.5 2003/04/21 
16:31:23 tjl Exp $";
+public static final String rcsid = "$Id: FakeTextSpan.java,v 1.6 2003/05/26 
09:24:58 tjl Exp $";
 
     String text;
     transient char[] textarr;
 
     public FakeTextSpan(String s) {
-       /*
-       String id = URN5Namespace.instance.getStormDataBlockId();
-       id = id + "," + URIUtil.escapeUTF8(s);
-
-       sb = new FakeTextScrollBlock(s, id);
-       */
        this.text = s;
     }
 
@@ -83,9 +78,5 @@
 
     public ScrollBlock getScrollBlock() {
        return null;
-       /*
-       if(sb == null) sb = new FakeTextScrollBlock();
-       return sb;
-       */
     }
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]