Package org.ini4j

Class BasicProfile

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicProfile()  
      BasicProfile​(boolean treeMode, boolean propertyFirstUpper)  
    • Constructor Detail

      • BasicProfile

        public BasicProfile()
      • BasicProfile

        public BasicProfile​(boolean treeMode,
                            boolean propertyFirstUpper)
    • Method Detail

      • getComment

        public java.lang.String getComment()
        Specified by:
        getComment in interface Profile
      • setComment

        public void setComment​(java.lang.String value)
        Specified by:
        setComment in interface Profile
      • add

        public void add​(java.lang.String section,
                        java.lang.String option,
                        java.lang.Object value)
        Specified by:
        add in interface Profile
      • as

        public <T> T as​(java.lang.Class<T> clazz)
        Specified by:
        as in interface Profile
      • as

        public <T> T as​(java.lang.Class<T> clazz,
                        java.lang.String prefix)
        Specified by:
        as in interface Profile
      • fetch

        public java.lang.String fetch​(java.lang.Object sectionName,
                                      java.lang.Object optionName)
        Specified by:
        fetch in interface Profile
      • fetch

        public <T> T fetch​(java.lang.Object sectionName,
                           java.lang.Object optionName,
                           java.lang.Class<T> clazz)
        Specified by:
        fetch in interface Profile
      • get

        public java.lang.String get​(java.lang.Object sectionName,
                                    java.lang.Object optionName)
        Specified by:
        get in interface Profile
      • get

        public <T> T get​(java.lang.Object sectionName,
                         java.lang.Object optionName,
                         java.lang.Class<T> clazz)
        Specified by:
        get in interface Profile
      • put

        public java.lang.String put​(java.lang.String sectionName,
                                    java.lang.String optionName,
                                    java.lang.Object value)
        Specified by:
        put in interface Profile
      • remove

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