io.github.avivcarmis.confEager.properties.ConfEagerPropertyStringArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of conf-eager Show documentation
Show all versions of conf-eager Show documentation
Super simplistic and dynamic eager-initialization configuration library for Java.
The newest version!
package io.github.avivcarmis.confEager.properties;
import io.github.avivcarmis.confEager.ConfEager;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerPropertyPrimitiveArray;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerValueMapper;
/**
* Out of the box {@link io.github.avivcarmis.confEager.ConfEagerProperty}
* that maps {@link String} array values.
*/
public class ConfEagerPropertyStringArray extends ConfEagerPropertyPrimitiveArray {
public ConfEagerPropertyStringArray(ConfEager.DefaultValue defaultValue, ConfEager.PropertyName propertyName) {
super(defaultValue, propertyName, ConfEagerValueMapper.STRING_MAPPER, String.class);
}
public ConfEagerPropertyStringArray(ConfEager.PropertyName propertyName, ConfEager.DefaultValue defaultValue) {
super(propertyName, defaultValue, ConfEagerValueMapper.STRING_MAPPER, String.class);
}
public ConfEagerPropertyStringArray(ConfEager.PropertyName propertyName) {
super(propertyName, ConfEagerValueMapper.STRING_MAPPER, String.class);
}
public ConfEagerPropertyStringArray(ConfEager.DefaultValue defaultValue) {
super(defaultValue, ConfEagerValueMapper.STRING_MAPPER, String.class);
}
public ConfEagerPropertyStringArray() {
super(ConfEagerValueMapper.STRING_MAPPER, String.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy