poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1053251 - in /poi/trunk/src/java/org/apache/poi/poifs/filesystem: NPOIFSMiniStore.java NPOIFSStream.java
Date Tue, 28 Dec 2010 04:46:13 GMT
Author: nick
Date: Tue Dec 28 04:46:12 2010
New Revision: 1053251

URL: http://svn.apache.org/viewvc?rev=1053251&view=rev
Log:
Add TODOs for further stream writing work

Modified:
    poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSMiniStore.java
    poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSStream.java

Modified: poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSMiniStore.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSMiniStore.java?rev=1053251&r1=1053250&r2=1053251&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSMiniStore.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSMiniStore.java Tue Dec 28 04:46:12
2010
@@ -82,7 +82,8 @@ public class NPOIFSMiniStore extends Blo
      * Load the block, extending the underlying stream if needed
      */
     protected ByteBuffer createBlockIfNeeded(final int offset) throws IOException {
-       // TODO Extend
+       // TODO Extend the stream if needed
+       // TODO Needs append support on the underlying stream
        return getBlockAt(offset);
     }
     

Modified: poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSStream.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSStream.java?rev=1053251&r1=1053250&r2=1053251&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSStream.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/filesystem/NPOIFSStream.java Tue Dec 28 04:46:12
2010
@@ -40,7 +40,7 @@ import org.apache.poi.poifs.storage.Head
  *  handle small block ones.
  * This uses the new NIO code
  * 
- * TODO Implement a streaming write method
+ * TODO Implement a streaming write method, and append
  */
 
 public class NPOIFSStream implements Iterable<ByteBuffer>
@@ -156,7 +156,9 @@ public class NPOIFSStream implements Ite
       blockStore.setNextBlock(lastBlock, POIFSConstants.END_OF_CHAIN);
    }
    
-   // TODO Streaming write support too
+   // TODO Streaming write support
+   // TODO  then convert fixed sized write to use streaming internally
+   // TODO Append write support (probably streaming)
    
    /**
     * Frees all blocks in the stream



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message