List of usage examples for java.io BufferedInputStream toString
public String toString()
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; }