Example usage for java.io BufferedInputStream toString

List of usage examples for java.io BufferedInputStream toString

Introduction

In this page you can find the example usage for java.io BufferedInputStream toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:org.javamrt.mrt.BGPFileReader.java

/*****
 *
 * public BGPFileReader (BufferedInputStream in)
 *
 * create a new BGPFileReader from BufferedInputStream <in>
 *///  w ww .j a  va2s  .co m

public BGPFileReader(BufferedInputStream in) {
    this.in = in;
    this.toString = in.toString();
    this.recordFifo = new LinkedList<MRTRecord>();
    this.header = new byte[12]; // always 12 bytes, create once
    this.record = null;
    this.eof = false;
}