Java IntelHex parser library
Switch branches/tags
Nothing to show
Clone or download
j123b567 Merge pull request #5 from inm-certi/master
Fix parser to work with empty lines after EOF
Latest commit 6a2b638 May 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nbproject Refactor class naming Oct 9, 2015
src/cz/jaybee Fix parser to work with empty lines after EOF May 25, 2018
.gitignore Refactor class naming Oct 9, 2015
README.md Update README.md Nov 8, 2013
build.xml Add RangeDetector and update demo Mar 1, 2015
manifest.mf Initial IntelHexParser implementation Nov 26, 2012

README.md

Java IntelHex Parser Library

  • IntelHex file format parsing library written in Java.
  • Licensed under Simplified BSD license
  • Including demo code: intelhex to binary converter
	// create input stream of some IntelHex data
	InputStream is = new FileInputStream("Application.hex");
	
	// create IntelHexParserObject
	IntelHexParser ihp = new IntelHexParser(is);
	
	// register parser listener
	ihp.setDataListener(new IntelHexDataListener() {
		@Override
		public void data(long address, byte[] data) {
			// process data
		}
		
		@Override
		public void eof() {
			// do some action
		}
	});
	ihp.parse();