lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r803905 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs
Date Thu, 13 Aug 2009 14:40:07 GMT
Author: digy
Date: Thu Aug 13 14:40:06 2009
New Revision: 803905

URL: http://svn.apache.org/viewvc?rev=803905&view=rev
Log:
LUCENENET-150 patch for Lucene.Net 2.4.0

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/ReusableStringReader.cs?rev=803905&r1=803904&r2=803905&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs Thu Aug 13
14:40:06 2009
@@ -64,5 +64,35 @@
         }
 
         public override void Close() { }
+
+        public override int Read()
+        {
+            throw new System.NotImplementedException("ReusableStringReader.Read() is not
implemented");
+        }
+
+        public override int ReadBlock(char[] buffer, int index, int count)
+        {
+            throw new System.NotImplementedException("ReusableStringReader.ReadBlock is not
implemented");
+        }
+
+        public override string ReadLine()
+        {
+            throw new System.NotImplementedException("ReusableStringReader.ReadLine is not
implemented");
+        }
+
+        public override int Peek()
+        {
+            throw new System.NotImplementedException("ReusableStringReader.Peek is not implemented");
+        }
+
+        public override string ReadToEnd()
+        {
+            if (left == 0) return null;
+            string retStr =  s.Substring(s.Length-left);
+            left = 0;
+            return retStr;
+        }
     }
+
+    
 }



Mime
View raw message