private HashMap<String, String> loadProperties(InputStream is) {

        HashMap<String, String> properties = new HashMap<>();

        FORMAT = this.scanFormat(is);

        byte[] residual = this.getSection(is, "residual");

        byte[] header = this.getSection(is, "header");
        parseHeader(header, properties);

        byte[] body = this.getSection(is, "body");
        parseBody(body, properties);

        byte[] footer = this.getSection(is, "footer");
        parseFooter(footer, properties);

        return (properties);
    }
scan the news messsage and store the metadata and data into a map
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-news-module/src/main/java/org/apache/tika/parser/iptc/IptcAnpaParser.java