ToString() private static method

Reads until end-of-stream and returns all read chars, finally closes the stream.
if an I/O error occurs while reading the stream
private static ToString ( Reader input ) : string
input Reader the input stream
return string
Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void reset() throws java.io.IOException
            public override void reset()
            {
                base.reset();
                this.str         = PatternAnalyzer.ToString(input);
                this.matcher     = pattern.matcher(this.str);
                this.pos         = 0;
                this.initialized = true;
            }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void reset() throws java.io.IOException
            public override void reset()
            {
                base.reset();
                this.str = PatternAnalyzer.ToString(input);
                this.pos = 0;
            }