fr.sii.ogham.sms.builder.cloudhopper.StandardEncodingHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ogham-sms-cloudhopper Show documentation
Show all versions of ogham-sms-cloudhopper Show documentation
SMS implementation for Ogham that uses Cloudhopper SMPP library
The newest version!
package fr.sii.ogham.sms.builder.cloudhopper;
import fr.sii.ogham.core.builder.configuration.ConfigurationValueBuilderHelper;
import fr.sii.ogham.core.builder.context.BuildContext;
import fr.sii.ogham.sms.sender.impl.cloudhopper.encoder.NamedCharset;
/**
* Helper class that extends {@link ConfigurationValueBuilderHelper} to track
* the associated charset name.
*
* @author Aurélien Baudet
*
*/
public class StandardEncodingHelper extends ConfigurationValueBuilderHelper {
private final String charsetName;
public StandardEncodingHelper(EncoderBuilder parent, String charsetName, BuildContext buildContext) {
super(parent, Integer.class, buildContext);
this.charsetName = charsetName;
}
public NamedCharset getCharset() {
return NamedCharset.from(charsetName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy