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

net.fckeditor.localization.LocaleResolver Maven / Gradle / Ivy

Go to download

This Java library enables the FCKeditor to be used in a Servlet/J2EE environment. It provides JSP tags for creating a FCKeditor instance and a Servlet handling server-side user files and folders.

The newest version!
/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2004-2010 Frederico Caldeira Knabben
 * 
 * == BEGIN LICENSE ==
 * 
 * Licensed under the terms of any of the following licenses at your
 * choice:
 * 
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 * 
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 * 
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 * 
 * == END LICENSE ==
 */
package net.fckeditor.localization;

import java.util.Locale;

import javax.servlet.http.HttpServletRequest;

/**
 * An interface for user locale resolution.
 * 

* Note: You are free to implement this interface the way you * need it, in other words your return values can be global, regardless of the * request, or on a per-request basis. *

* @version $Id: LocaleResolver.java 4785 2009-12-21 20:10:28Z mosipov $ */ public interface LocaleResolver { /** * Returns the locale of a given request. * * @param request * the current request instance * @return the locale of the request, null if the locale * couldn't be resolved */ public Locale resolveLocale(final HttpServletRequest request); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy