Class Metadata


  • public class Metadata
    extends java.lang.Object
    Pluck data out of the ether - or failing that, read it from a properties file. Assumes the properties file is in the "right place" through configuration of the build or compile processes.
    • Constructor Summary

      Constructors 
      Constructor Description
      Metadata()  
      Metadata​(java.lang.String resourceName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMetadata​(java.lang.String resourceName)  
      java.lang.String get​(java.lang.String name)  
      java.lang.String get​(java.lang.String name, java.lang.String defaultValue)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Metadata

        public Metadata()
      • Metadata

        public Metadata​(java.lang.String resourceName)
    • Method Detail

      • addMetadata

        public void addMetadata​(java.lang.String resourceName)
      • get

        public java.lang.String get​(java.lang.String name)
      • get

        public java.lang.String get​(java.lang.String name,
                                    java.lang.String defaultValue)