Class JsonPropertySourceFactory

  • All Implemented Interfaces:
    org.springframework.core.io.support.PropertySourceFactory

    public class JsonPropertySourceFactory
    extends java.lang.Object
    implements org.springframework.core.io.support.PropertySourceFactory
    PropertySourceFactory for JSON
    Since:
    1.0.0
    Author:
    Mercy
    See Also:
    PropertySourceFactory, PropertySource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.core.env.PropertySource<?> createPropertySource​(java.lang.String name, org.springframework.core.io.support.EncodedResource resource)  
      • Methods inherited from class java.lang.Object

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

      • JsonPropertySourceFactory

        public JsonPropertySourceFactory()
    • Method Detail

      • createPropertySource

        public org.springframework.core.env.PropertySource<?> createPropertySource​(java.lang.String name,
                                                                                   org.springframework.core.io.support.EncodedResource resource)
                                                                            throws java.io.IOException
        Specified by:
        createPropertySource in interface org.springframework.core.io.support.PropertySourceFactory
        Throws:
        java.io.IOException