Changeset 6614


Ignore:
Timestamp:
09/30/15 09:35:47 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/PostProcessorsWithVocabularyMap.java

    r6613 r6614  
    5656                 LOG.info("map contains {} entries", getVocabularyMap().size());
    5757                 for(Entry<String, String> e: getVocabularyMap().entrySet()){
    58                          LOG.info("Key <{} bytes {}> will be mapped to <{}>", e.getKey(), e.getKey().getBytes(), e.getValue());
     58                         byte bytes[] = e.getKey().getBytes();
     59                         StringBuilder sb = new StringBuilder();
     60                            for (byte b : bytes)
     61                                sb.append(String.format("%02X ", b));
     62                           
     63                         LOG.info("Key <{} bytes {}> will be mapped to <{}>", e.getKey(), sb.toString(), e.getValue());
    5964                 }
    6065         }
Note: See TracChangeset for help on using the changeset viewer.