You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/08/13 16:40:07 UTC
svn commit: r803905 -
/incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ReusableStringReader.cs
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;
+ }
}
+
+
}