Package be.lmenten.avr.binfmt.hex
Class IntelHexWriter
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
java.io.FileWriter
be.lmenten.avr.binfmt.hex.IntelHexWriter
- All Implemented Interfaces:
HexImage
,HexImageWriter
,Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
setAddress(int address)
void
setEndianness(HexDataEndianness endianness)
void
setSegmentAddress(int address)
void
setSegmentStartAddress(int address)
void
setStartAddress(int address)
void
writeByte(int data)
void
writeDWord(long data)
void
writeWord(int data)
Methods inherited from class java.io.OutputStreamWriter
append, append, flush, getEncoding, write, write, write
Methods inherited from class java.io.Writer
append, nullWriter, write, write
-
Constructor Details
-
IntelHexWriter
- Throws:
IOException
-
IntelHexWriter
- Throws:
IOException
-
-
Method Details
-
getFileName
-
setEndianness
- Specified by:
setEndianness
in interfaceHexImage
-
getEndianness
- Specified by:
getEndianness
in interfaceHexImage
-
writeByte
- Specified by:
writeByte
in interfaceHexImageWriter
- Throws:
IOException
-
writeWord
- Specified by:
writeWord
in interfaceHexImageWriter
- Throws:
IOException
-
writeDWord
- Specified by:
writeDWord
in interfaceHexImageWriter
- Throws:
IOException
-
setAddress
public void setAddress(int address)- Specified by:
setAddress
in interfaceHexImageWriter
-
setSegmentAddress
public void setSegmentAddress(int address)- Specified by:
setSegmentAddress
in interfaceHexImageWriter
-
setStartAddress
public void setStartAddress(int address)- Specified by:
setStartAddress
in interfaceHexImageWriter
-
setSegmentStartAddress
public void setSegmentStartAddress(int address)- Specified by:
setSegmentStartAddress
in interfaceHexImageWriter
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStreamWriter
- Throws:
IOException
-