public class BGPFileReader extends Object
| Constructor and Description |
|---|
BGPFileReader(BufferedInputStream in)
public BGPFileReader (BufferedInputStream in)
create a new BGPFileReader from BufferedInputStream
|
BGPFileReader(File f) |
BGPFileReader(String name)
public BGPFileReader (String name)
create a new BGPFileReader from BufferedInputStream specified by the
String name
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
void close()
close the BGPFileReader
|
boolean |
eof() |
long |
mrtRecords() |
MRTRecord |
readNext()
The name MRT record is not perfect, because actually it's routing events we get
|
String |
toString()
toString(): return the name of the input Stream
|
public BGPFileReader(BufferedInputStream in)
public BGPFileReader(String name) throws Exception
Exceptionpublic BGPFileReader(File f) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic String toString()
public long mrtRecords()
public MRTRecord readNext() throws Exception
Exceptionpublic boolean eof()
Copyright © 2025. All rights reserved.