net.sourceforge.rssowl.controller
Class RSSOwlLoader

java.lang.Object
  extended bynet.sourceforge.rssowl.controller.RSSOwlLoader

public class RSSOwlLoader
extends Object

Class that loads the RSSOwl-Application and displays a splashscreen while loading.

Version:
1.1.3
Author:
Benjamin Pasero

Field Summary
(package private)  org.eclipse.swt.widgets.Display display
           
(package private) static boolean guiBuilt
          Flag to set TRUE when the application was built
(package private)  org.eclipse.swt.widgets.Shell invisibleShell
           
(package private) static boolean winXpStyleEnabled
          Flag to indicate if the WinXP Style has been enabled
 
Constructor Summary
private RSSOwlLoader()
          Load GUI and display a Splashscreen while loading
 
Method Summary
private static void createArchiveDir()
          Create the Archive Directory
private static void createCacheDir()
          Create the Cache Directory
private static void createLogDir()
          Create the Log Directory
private static void createTempDir()
          Create the Temp Directory
private static void createWorkingDir()
          Create the Home Directory
private static void enableWinXPStyle()
          Enables WinXP Look & Feel for WinXP
private static void initDebugMode()
          Setup Debug Mode for HttpClient
private static boolean isValidArgument(String arg)
          Check if the given argument is a valid URI or URL
static void main(String[] args)
          Start a new RSSOwl Application
private static void setFilePathes()
          Set the file pathes to the settings- and temp file.
private static void setUpProperties()
          Write OS specific DWOrds into System properties
private static void startupProcess(String[] args)
          Things to do before launching RSSOwl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

guiBuilt

static boolean guiBuilt
Flag to set TRUE when the application was built


winXpStyleEnabled

static boolean winXpStyleEnabled
Flag to indicate if the WinXP Style has been enabled


display

org.eclipse.swt.widgets.Display display

invisibleShell

org.eclipse.swt.widgets.Shell invisibleShell
Constructor Detail

RSSOwlLoader

private RSSOwlLoader()
Load GUI and display a Splashscreen while loading

Method Detail

main

public static void main(String[] args)
Start a new RSSOwl Application

Parameters:
args - If an argument is passed to the application, it is interpreted as URL and tryd to open as newsfeed

createArchiveDir

private static void createArchiveDir()
Create the Archive Directory


createCacheDir

private static void createCacheDir()
Create the Cache Directory


createLogDir

private static void createLogDir()
Create the Log Directory


createTempDir

private static void createTempDir()
Create the Temp Directory


createWorkingDir

private static void createWorkingDir()
Create the Home Directory


enableWinXPStyle

private static void enableWinXPStyle()
Enables WinXP Look & Feel for WinXP


initDebugMode

private static void initDebugMode()
Setup Debug Mode for HttpClient


isValidArgument

private static boolean isValidArgument(String arg)
Check if the given argument is a valid URI or URL

Parameters:
arg - The argument that has been passed to RSSOwl
Returns:
TRUE if the argument is valid

setFilePathes

private static void setFilePathes()
Set the file pathes to the settings- and temp file.


setUpProperties

private static void setUpProperties()
Write OS specific DWOrds into System properties


startupProcess

private static void startupProcess(String[] args)
Things to do before launching RSSOwl

Parameters:
args - Arguments of RSSOwl


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo