All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.dotify.impl.text.SwedishInteger2TextFactory Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
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