ToString() private static method

private static ToString ( TextReader input ) : String
input System.IO.TextReader
return String
コード例 #1
0
ファイル: PatternAnalyzer.cs プロジェクト: zfxsss/lucenenet
 public override void Reset()
 {
     base.Reset();
     this.str         = PatternAnalyzer.ToString(input);
     this.matcher     = pattern.matcher(this.str);
     this.pos         = 0;
     this.initialized = true;
 }
コード例 #2
0
            public override void Reset()
            {
                base.Reset();
                this.str = PatternAnalyzer.ToString(input);

                // LUCENENET: Since we need to "reset" the Match
                // object, we also need an "isReset" flag to indicate
                // whether we are at the head of the match and to
                // take the appropriate measures to ensure we don't
                // overwrite our matcher variable with
                // matcher = matcher.NextMatch();
                // before it is time. A string could potentially
                // match on index 0, so we need another variable to
                // manage this state.
                this.matcher     = pattern.Match(this.str);
                this.isReset     = true;
                this.pos         = 0;
                this.initialized = true;
            }
コード例 #3
0
ファイル: PatternAnalyzer.cs プロジェクト: zfxsss/lucenenet
 public override void Reset()
 {
     base.Reset();
     this.str = PatternAnalyzer.ToString(input);
     this.pos = 0;
 }