diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-28 14:00:15 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-05-28 14:04:21 -0700 |
commit | da914cd72411af8c36af05b13c11b9093c8a378c (patch) | |
tree | 9443f90fbf21315b609631c300bfb4acb3ac23da /altoslib/AltosEepromFile.java | |
parent | 9e1295ff74d03f940fc68e6795bf30687162a440 (diff) |
altoslib: Create data file open helper in AltosLib
Use InputStream everywhere, instead of Reader.
Create private string input stream as java one is deprecated.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosEepromFile.java')
-rw-r--r-- | altoslib/AltosEepromFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosEepromFile.java b/altoslib/AltosEepromFile.java index df19877b..463948b1 100644 --- a/altoslib/AltosEepromFile.java +++ b/altoslib/AltosEepromFile.java @@ -33,7 +33,7 @@ public class AltosEepromFile implements AltosRecordSet { out.printf("%s\n", set.eeprom.toString()); } - public AltosEepromFile(Reader input) throws IOException { + public AltosEepromFile(InputStream input) throws IOException { set = new AltosEepromRecordSet(input); } |