com.pegacat.vcf
Class VoyagerClient
java.lang.Object
|
+--com.pegacat.vcf.VoyagerClient
- public class VoyagerClient
- extends java.lang.Object
Field Summary |
static com.pegacat.vcf.VoyagerClient.SplashScreen |
splash
A short lived splash screen. |
static java.lang.String |
version
|
Method Summary |
static java.lang.String |
getProperty(java.lang.String key)
Convenience function to access global properties list. |
static void |
hideSplash()
Dispose of the splash window. |
static void |
loadSkins()
|
static void |
main(java.lang.String[] args)
The 'main' Voyager class - this actually does little but
set up the global config variables, initialise the skins, |
static java.net.URL |
makeConnection()
|
static void |
readGlobalConfig(java.lang.String[] args)
|
static void |
setDefaultProperty(java.lang.String key,
java.lang.String value)
sets a global property, *if* it doesn't already exist. |
static void |
setProperty(java.lang.String key,
java.lang.String value)
sets a global property |
static void |
showSplash()
Shows a quicky splash screen - a simple window that shows an image. |
static void |
shutdown()
Exit code - does clean up, saves any extra data that needs
saving (e.g. |
static void |
writePropertyFile(java.lang.String fileName,
java.util.Properties propertyList,
java.lang.String comments)
Writes a java Properties list to a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
public static final java.lang.String version
splash
public static com.pegacat.vcf.VoyagerClient.SplashScreen splash
- A short lived splash screen.
VoyagerClient
public VoyagerClient()
main
public static void main(java.lang.String[] args)
- The 'main' Voyager class - this actually does little but
set up the global config variables, initialise the skins,
showSplash
public static void showSplash()
- Shows a quicky splash screen - a simple window that shows an image.
hideSplash
public static void hideSplash()
- Dispose of the splash window.
loadSkins
public static void loadSkins()
makeConnection
public static java.net.URL makeConnection()
getProperty
public static java.lang.String getProperty(java.lang.String key)
- Convenience function to access global properties list.
- Parameters:
the
- property key; see the java.util.Properties
setProperty
public static void setProperty(java.lang.String key,
java.lang.String value)
- sets a global property
setDefaultProperty
public static void setDefaultProperty(java.lang.String key,
java.lang.String value)
- sets a global property, *if* it doesn't already exist.
readGlobalConfig
public static void readGlobalConfig(java.lang.String[] args)
shutdown
public static void shutdown()
- Exit code - does clean up, saves any extra data that needs
saving (e.g. config variables) and generally tidies up.
writePropertyFile
public static void writePropertyFile(java.lang.String fileName,
java.util.Properties propertyList,
java.lang.String comments)
- Writes a java Properties list to a file.
- Parameters:
fileName
- the full path and file name of the properties file to write.propertyList
- the list of properties to put in the output filecomments
- extra text to be placed at the start of the output file.