
org.daisy.dotify.impl.text.SwedishInteger2TextFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dotify.text.impl Show documentation
Show all versions of dotify.text.impl Show documentation
Implementation of Dotify Text API
package org.daisy.dotify.impl.text;
import org.daisy.dotify.api.text.Integer2Text;
import org.daisy.dotify.api.text.Integer2TextConfigurationException;
import org.daisy.dotify.api.text.Integer2TextFactory;
class SwedishInteger2TextFactory implements Integer2TextFactory {
public Integer2Text newInteger2Text(String locale) throws Integer2TextConfigurationException {
return new SvInt2TextLocalization();
}
public Object getFeature(String key) {
return null;
}
public void setFeature(String key, Object value) throws Integer2TextConfigurationException {
throw new SwedishInteger2TextConfigurationException();
}
private class SwedishInteger2TextConfigurationException extends Integer2TextConfigurationException {
/**
*
*/
private static final long serialVersionUID = -7090139699406930899L;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy