Class ConfigSupport


  • public class ConfigSupport
    extends 
    Author:
    Nikita Koksharov
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigSupport()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ConnectionManager createConnectionManager​(Config configCopy)  
      <T> T  file, <T> configType)  
      <T> T  file, <T> configType,  classLoader)  
      <T> T  inputStream, <T> configType)  
      <T> T  reader, <T> configType)  
      <T> T  content, <T> configType)  
      <T> T  url, <T> configType)  
      <T> T  file, <T> configType)  
      <T> T  file, <T> configType,  classLoader)  
      <T> T  inputStream, <T> configType)  
      <T> T  reader, <T> configType)  
      <T> T  content, <T> configType)  
      <T> T  url, <T> configType)  
      toJSON​(Config config)  
      toYAML​(Config config)  
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • ConfigSupport

        public ConfigSupport()
    • Method Detail

      • fromJSON

        public <T> T fromJSON​( content,
                              <T> configType)
                       throws 
        Throws:
      • fromJSON

        public <T> T fromJSON​( file,
                              <T> configType)
                       throws 
        Throws:
      • fromJSON

        public <T> T fromJSON​( file,
                              <T> configType,
                               classLoader)
                       throws 
        Throws:
      • fromJSON

        public <T> T fromJSON​( url,
                              <T> configType)
                       throws 
        Throws:
      • fromJSON

        public <T> T fromJSON​( reader,
                              <T> configType)
                       throws 
        Throws:
      • fromJSON

        public <T> T fromJSON​( inputStream,
                              <T> configType)
                       throws 
        Throws:
      • toJSON

        public  toJSON​(Config config)
                      throws 
        Throws:
      • fromYAML

        public <T> T fromYAML​( content,
                              <T> configType)
                       throws 
        Throws:
      • fromYAML

        public <T> T fromYAML​( file,
                              <T> configType)
                       throws 
        Throws:
      • fromYAML

        public <T> T fromYAML​( file,
                              <T> configType,
                               classLoader)
                       throws 
        Throws:
      • fromYAML

        public <T> T fromYAML​( url,
                              <T> configType)
                       throws 
        Throws:
      • fromYAML

        public <T> T fromYAML​( reader,
                              <T> configType)
                       throws 
        Throws:
      • fromYAML

        public <T> T fromYAML​( inputStream,
                              <T> configType)
                       throws 
        Throws:
      • toYAML

        public  toYAML​(Config config)
                      throws 
        Throws: