1 package com.neuronrobotics.sdk.bootloader;
3 import java.io.BufferedReader;
4 import java.io.DataInputStream;
5 import java.io.FileInputStream;
6 import java.io.InputStreamReader;
7 import java.util.ArrayList;
22 private ArrayList<hexLine>
lines =
new ArrayList<hexLine>();
48 ArrayList<hexLine> tmp =
new ArrayList<hexLine>();
50 DataInputStream in =
new DataInputStream(
new FileInputStream(file));
51 BufferedReader br =
new BufferedReader(
new InputStreamReader(in));
53 while ((strLine = br.readLine()) !=
null) {
57 }
catch (Exception e) {
58 System.err.println(
"This is not a valid hex file");
64 }
catch (Exception e) {
void setType(NRBootCoreType type)
ArrayList< hexLine > lines
Core(int core, String file, NRBootCoreType type)
ArrayList< hexLine > getLines()
Core(int core, ArrayList< hexLine > lines, NRBootCoreType type)
void setLines(ArrayList< hexLine > lines)