TV-Browser 2.7.5 API

tvbrowser
Class TVBrowser

java.lang.Object
  extended by tvbrowser.TVBrowser

public class TVBrowser
extends Object

TV-Browser

Author:
Martin Oberhauser

Field Summary
static String[] ALL_VERSIONS
          The string array with the names of the earlier versions.
static String MAINWINDOW_TITLE
          The title bar string.
static Localizer mLocalizer
          The localizer for this class.
static Version VERSION
           
 
Constructor Summary
TVBrowser()
           
 
Method Summary
static void flushSettings(boolean log)
          Saves the main settings.
static boolean handleAutomaticDownload()
          Starts an automatic download if required
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 loadTray()
          Loads the tray icon.
static void main(String[] args)
          Entry point of the application
static void removeTray()
          Remove the tray icon.
static void shutdown(boolean log)
          Called when TV-Browser shuts down.
static void updateProxySettings()
          Updates the proxy settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mLocalizer

public static Localizer mLocalizer
The localizer for this class.


ALL_VERSIONS

public static final String[] ALL_VERSIONS
The string array with the names of the earlier versions.


VERSION

public static final Version VERSION

MAINWINDOW_TITLE

public static final String MAINWINDOW_TITLE
The title bar string.

Constructor Detail

TVBrowser

public TVBrowser()
Method Detail

main

public static void main(String[] args)
Entry point of the application

Parameters:
args - The arguments given in the command line.

flushSettings

public static void flushSettings(boolean log)
Saves the main settings.

Parameters:
log - If it should be written into the log.

isUsingSystemTray

public static boolean isUsingSystemTray()
Gets if the system tray is used.

Returns:
true if the system tray is used, false otherwise.

loadTray

public static void loadTray()
Loads the tray icon.


removeTray

public static void removeTray()
Remove the tray icon.


handleAutomaticDownload

public static boolean handleAutomaticDownload()
Starts an automatic download if required

Returns:
false, if no download got started

shutdown

public static void shutdown(boolean log)
Called when TV-Browser shuts down.

Stops the save thread and saves the settings.

Parameters:
log - If it should be written to the log.

updateProxySettings

public static void updateProxySettings()
Updates the proxy settings.


isTransportable

public static boolean isTransportable()
Gets if TV-Browser runs as portable version.

Returns:
If TV-Browser runa as portable version.
Since:
2.2.2/2.5.1

isStable

public static boolean isStable()
get whether this is a development version or a stable build

Returns:
if stable
Since:
2.7

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)