private String getFormatName() {

        String name = "";

        if (FORMAT == this.FMT_IPTC_AP) {
            name = "Associated Press";
        } else if (FORMAT == this.FMT_IPTC_BLM) {
            name = "Bloomberg";
        } else if (FORMAT == this.FMT_IPTC_NYT) {
            name = "New York Times";
        } else if (FORMAT == this.FMT_IPTC_RTR) {
            name = "Reuters";
        }

        return (name);
    }
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