net.sourceforge.rssowl.controller
Class RSSOwlLoader

java.lang.Object
  extended by net.sourceforge.rssowl.controller.RSSOwlLoader

public class RSSOwlLoader
extends java.lang.Object

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

Version:
1.2.4
Author:
Benjamin Pasero

Field Summary
(package private)  Display display
           
(package private) static java.lang.String feedArgument
          A valid (URL or Filepath) first Argument if provided
(package private)  Shell invisibleShell
           
private static java.lang.String PROPERTY_ALLOW_MULTI_INSTANCES
          System Property: Allow more than one instance of RSSOwl
(package private) static java.lang.String PROPERTY_CLASSIC_SORT
          System Property: Sort Favorites over Categories in Favorites Tree
private static java.lang.String PROPERTY_DEBUG_MODE
          System Property: Run RSSOwl in Debug Mode
private static java.lang.String PROPERTY_NO_SPLASH
          System Property: Do not show the Splashscreen at startup
 
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 initDebugMode()
          Setup Debug Mode for HttpClient
static boolean isValidArgument(java.lang.String arg)
          Check if the given argument is a valid URI or URL
static void main(java.lang.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(java.lang.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

PROPERTY_ALLOW_MULTI_INSTANCES

private static final java.lang.String PROPERTY_ALLOW_MULTI_INSTANCES
System Property: Allow more than one instance of RSSOwl

See Also:
Constant Field Values

PROPERTY_DEBUG_MODE

private static final java.lang.String PROPERTY_DEBUG_MODE
System Property: Run RSSOwl in Debug Mode

See Also:
Constant Field Values

PROPERTY_NO_SPLASH

private static final java.lang.String PROPERTY_NO_SPLASH
System Property: Do not show the Splashscreen at startup

See Also:
Constant Field Values

PROPERTY_CLASSIC_SORT

static final java.lang.String PROPERTY_CLASSIC_SORT
System Property: Sort Favorites over Categories in Favorites Tree

See Also:
Constant Field Values

feedArgument

static java.lang.String feedArgument
A valid (URL or Filepath) first Argument if provided


display

Display display

invisibleShell

Shell invisibleShell
Constructor Detail

RSSOwlLoader

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

Method Detail

main

public static void main(java.lang.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


initDebugMode

private static void initDebugMode()
Setup Debug Mode for HttpClient


isValidArgument

public static boolean isValidArgument(java.lang.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(java.lang.String[] args)
Things to do before launching RSSOwl

Parameters:
args - Arguments of RSSOwl


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo