Class StringResourceRepositoryImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​StringResource> resources
      mem store
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEncoding()
      Returns the current encoding of this repository.
      StringResource getStringResource​(java.lang.String name)
      get the string resource that is stored with given key
      void putStringResource​(java.lang.String name, java.lang.String body)
      add a string resource with given key.
      void putStringResource​(java.lang.String name, java.lang.String body, java.lang.String encoding)
      add a string resource with given key.
      void removeStringResource​(java.lang.String name)
      delete a string resource with given key.
      void setEncoding​(java.lang.String encoding)
      Sets the default encoding of the repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait