Use txt extension for shc fragment
This commit is contained in:
parent
7548ea37ae
commit
c2071379f4
|
@ -83,7 +83,7 @@ public class SHCParser extends ParserBase {
|
||||||
byte[] content = TextFile.streamToBytes(inStream);
|
byte[] content = TextFile.streamToBytes(inStream);
|
||||||
ByteArrayInputStream stream = new ByteArrayInputStream(content);
|
ByteArrayInputStream stream = new ByteArrayInputStream(content);
|
||||||
List<ValidatedFragment> res = new ArrayList<>();
|
List<ValidatedFragment> res = new ArrayList<>();
|
||||||
ValidatedFragment shc = new ValidatedFragment("shc", "json", content, false);
|
ValidatedFragment shc = new ValidatedFragment("shc", "txt", content, false);
|
||||||
res.add(shc);
|
res.add(shc);
|
||||||
|
|
||||||
String src = TextFile.streamToString(stream).trim();
|
String src = TextFile.streamToString(stream).trim();
|
||||||
|
|
Loading…
Reference in New Issue