public void printMetadata ( ) { if ( metadata == null ) createMetadataDictionary ( ) ; System . out . println ( "METADATA" ) ; // if (metadata.getCreator() != null) System.out.println("Creator:" + metadata.getCreator()); for ( String name : metadata . keySet ( ) ) { String mult = "" ; if ( getMetadataList ( name ) . size ( ) > 1 ) mult = "(x" + getMetadataList ( name ) . size ( ) + ")" ; if ( metadata . getMetadataObject ( name ) . isDublinCore ( ) ) System . out . println ( "[DC]" ) ; System . out . println ( name + mult + ": " + getMetadataSingleString ( name ) ) ; } }
Prints the metadata .