Package org.ini4j

Interface Profile

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Profile.Section  
      • Nested classes/interfaces inherited from interface java.util.Map

        Map.Entry<K extends Object,​V extends Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char PATH_SEPARATOR  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Profile.Section add​(String sectionName)  
      void add​(String sectionName, String optionName, Object value)  
      <T> T as​(Class<T> clazz)  
      <T> T as​(Class<T> clazz, String prefix)  
      String fetch​(Object sectionName, Object optionName)  
      <T> T fetch​(Object sectionName, Object optionName, Class<T> clazz)  
      String get​(Object sectionName, Object optionName)  
      <T> T get​(Object sectionName, Object optionName, Class<T> clazz)  
      String getComment()  
      String put​(String sectionName, String optionName, Object value)  
      boolean remove​(Object sectionName, Object optionName)  
      Profile.Section remove​(Profile.Section section)  
      void setComment​(String value)  
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • add

        void add​(String sectionName,
                 String optionName,
                 Object value)
      • as

        <T> T as​(Class<T> clazz)
      • as

        <T> T as​(Class<T> clazz,
                 String prefix)
      • fetch

        String fetch​(Object sectionName,
                     Object optionName)
      • fetch

        <T> T fetch​(Object sectionName,
                    Object optionName,
                    Class<T> clazz)
      • get

        String get​(Object sectionName,
                   Object optionName)
      • get

        <T> T get​(Object sectionName,
                  Object optionName,
                  Class<T> clazz)
      • put

        String put​(String sectionName,
                   String optionName,
                   Object value)
      • remove

        boolean remove​(Object sectionName,
                       Object optionName)
        Specified by:
        remove in interface Map<String,​Profile.Section>