@NotThreadSafe public class PhotonRequestParameters extends Object implements Serializable
| Constructor and Description |
|---|
PhotonRequestParameters() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale() |
String |
getLocaleAsString() |
IMenuItemPage |
getMenuItem() |
String |
getMenuItemAsString() |
boolean |
hasLocale() |
boolean |
hasMenuItem() |
void |
setLocale(Locale aLocale)
Set the current locale
|
Locale |
setLocaleFromString(String sDisplayLocale) |
void |
setMenuItem(IMenuItemPage aMenuItem) |
IMenuItemPage |
setMenuItemFromString(String sMenuItemID) |
String |
toString() |
@Nullable public String getLocaleAsString()
null.public boolean hasLocale()
true if a Locale is presentpublic void setLocale(@Nullable Locale aLocale)
aLocale - The Locale to use. May be null.@Nullable public IMenuItemPage getMenuItem()
public boolean hasMenuItem()
public void setMenuItem(@Nullable IMenuItemPage aMenuItem)
@Nullable public IMenuItemPage setMenuItemFromString(@Nullable String sMenuItemID)
Copyright © 2014–2017 Philip Helger. All rights reserved.