public class TVBrowser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAINWINDOW_TITLE
The title bar string.
|
static Version |
VERSION |
Constructor and Description |
---|
TVBrowser() |
Modifier and Type | Method and Description |
---|---|
static void |
addRestart() |
static void |
flushSettings(boolean log)
Saves the main settings.
|
static java.lang.String[] |
getAllVersionStrings()
get the version names of all released versions
(for use in directory names)
|
static java.lang.String |
getCurrentVersionString()
get the version string of this version (for use in directories)
|
static boolean |
handleAutomaticDownload()
Starts an automatic download if required
|
static boolean |
isSafeMode() |
static boolean |
isStable()
get whether this is a development version or a stable build
|
static boolean |
isTransportable()
Gets if TV-Browser runs as portable version.
|
static boolean |
isUsingSystemTray()
Gets if the system tray is used.
|
static void |
loadDataServicesAtStartup() |
static void |
loadTray()
Loads the tray icon.
|
static void |
main(java.lang.String[] args)
Entry point of the application
|
static void |
removeTray()
Remove the tray icon.
|
static boolean |
restartEnabled() |
static boolean |
showBalloonTip(java.lang.String caption,
java.lang.String message,
java.awt.TrayIcon.MessageType messageType)
Shows a balloon tip on the TV-Browser tray icon.
|
static void |
shutdown(boolean log)
Called when TV-Browser shuts down.
|
static void |
stopAutomaticDownload() |
static void |
updateProxySettings()
Updates the proxy settings.
|
public static final Version VERSION
public static final java.lang.String MAINWINDOW_TITLE
public static void main(java.lang.String[] args)
args
- The arguments given in the command line.public static boolean restartEnabled()
public static void addRestart()
public static void flushSettings(boolean log)
log
- If it should be written into the log.public static boolean isUsingSystemTray()
true
if the system tray is used, false
otherwise.public static void loadTray()
public static void removeTray()
public static boolean showBalloonTip(java.lang.String caption, java.lang.String message, java.awt.TrayIcon.MessageType messageType)
caption
- The caption of the displayed message.message
- The message to display in the balloon tip.messageType
- The type of the displayed balllon tip.public static boolean handleAutomaticDownload()
public static void shutdown(boolean log)
Stops the save thread and saves the settings.
public static void updateProxySettings()
public static boolean isTransportable()
public static boolean isStable()
public static java.lang.String getCurrentVersionString()
public static java.lang.String[] getAllVersionStrings()
public static void stopAutomaticDownload()
public static void loadDataServicesAtStartup()
public static boolean isSafeMode()
TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)