|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.hockeyapp.android.Strings
public class Strings
Copyright (c) 2012 Codenauts UG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Field Summary | |
---|---|
static int |
CRASH_DIALOG_MESSAGE_ID
Resource ID for the message of the dialog when a new crash was found. |
static int |
CRASH_DIALOG_NEGATIVE_BUTTON_ID
Resource ID for the label on the negative button of the dialog when a new crash was found. |
static int |
CRASH_DIALOG_POSITIVE_BUTTON_ID
Resource ID for the label on the positive button of the dialog when a new crash was found. |
static int |
CRASH_DIALOG_TITLE_ID
Resource ID for the title of the dialog when a new crash was found. |
static int |
DOWNLOAD_FAILED_DIALOG_MESSAGE_ID
Resource ID for the message of the dialog when the apk download failed. |
static int |
DOWNLOAD_FAILED_DIALOG_NEGATIVE_BUTTON_ID
Resource ID for the label on the negative button of the dialog when the apk download failed. |
static int |
DOWNLOAD_FAILED_DIALOG_POSITIVE_BUTTON_ID
Resource ID for the label on the positive button of the dialog when the apk download failed. |
static int |
DOWNLOAD_FAILED_DIALOG_TITLE_ID
Resource ID for the title of the dialog when the apk download failed. |
static java.lang.String[] |
ENGLISH
Default strings. |
static int |
EXPIRY_INFO_TEXT_ID
Resource ID for the text of the expiry info view. |
static int |
EXPIRY_INFO_TITLE_ID
Resource ID for the title of the expiry info view. |
static int |
UPDATE_DIALOG_MESSAGE_ID
Resource ID for the message of the dialog when a new update was found. |
static int |
UPDATE_DIALOG_NEGATIVE_BUTTON_ID
Resource ID for the label on the negative button of the dialog when a new update was found. |
static int |
UPDATE_DIALOG_POSITIVE_BUTTON_ID
Resource ID for the label on the positive button of the dialog when a new update was found. |
static int |
UPDATE_DIALOG_TITLE_ID
Resource ID for the title of the dialog when a new update was found. |
static int |
UPDATE_MANDATORY_TOAST_ID
Resource ID for the text of the toast when an update is mandatory. |
Constructor Summary | |
---|---|
Strings()
|
Method Summary | |
---|---|
static java.lang.String |
get(int resourceID)
Returns the default string for the given resource ID. |
static java.lang.String |
get(StringListener listener,
int resourceID)
Returns a string for the given resource ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CRASH_DIALOG_TITLE_ID
public static final int CRASH_DIALOG_MESSAGE_ID
public static final int CRASH_DIALOG_NEGATIVE_BUTTON_ID
public static final int CRASH_DIALOG_POSITIVE_BUTTON_ID
public static final int DOWNLOAD_FAILED_DIALOG_TITLE_ID
public static final int DOWNLOAD_FAILED_DIALOG_MESSAGE_ID
public static final int DOWNLOAD_FAILED_DIALOG_NEGATIVE_BUTTON_ID
public static final int DOWNLOAD_FAILED_DIALOG_POSITIVE_BUTTON_ID
public static final int UPDATE_MANDATORY_TOAST_ID
public static final int UPDATE_DIALOG_TITLE_ID
public static final int UPDATE_DIALOG_MESSAGE_ID
public static final int UPDATE_DIALOG_NEGATIVE_BUTTON_ID
public static final int UPDATE_DIALOG_POSITIVE_BUTTON_ID
public static final int EXPIRY_INFO_TITLE_ID
public static final int EXPIRY_INFO_TEXT_ID
public static final java.lang.String[] ENGLISH
Constructor Detail |
---|
public Strings()
Method Detail |
---|
public static java.lang.String get(int resourceID)
resourceID
- The ID of the string resource.
public static java.lang.String get(StringListener listener, int resourceID)
listener
- An instance of StringListener.resourceID
- The ID of the string resource.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |