Class HexDumpBGPFileParser
- java.lang.Object
-
- org.opendaylight.protocol.bgp.util.HexDumpBGPFileParser
-
public final class HexDumpBGPFileParser extends Object
Read text file, parse BGP messages. File can contain comments or other data. BGP messages are detected using 16 ff marker. New lines and spaces are ignored.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<byte[]>
parseMessages(File file)
static List<byte[]>
parseMessages(InputStream is)
static List<byte[]>
parseMessages(String stringMessage)
-
-
-
Method Detail
-
parseMessages
public static List<byte[]> parseMessages(File file) throws IOException
- Throws:
IOException
-
parseMessages
public static List<byte[]> parseMessages(InputStream is) throws IOException
- Throws:
IOException
-
-