com.realtime.crossfire.jxclient.main
Class JXClient

java.lang.Object
  extended by com.realtime.crossfire.jxclient.main.JXClient

public class JXClient
extends java.lang.Object

This is the entry point for JXClient. Note that this class doesn't do much by itself - most of the work in done in JXCWindow or CrossfireServerConnection.

Since:
1.0
See Also:
JXCWindow, CrossfireServerConnection

Constructor Summary
private JXClient(Options options, java.lang.String buildNumber)
          The constructor of the class.
 
Method Summary
private static java.lang.String getBuildNumber()
          Returns the build number as a string.
static void main(java.lang.String[] args)
          The program entry point.
private static java.io.Writer openDebugStream(java.lang.String filename)
          Opens an debug output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXClient

private JXClient(@NotNull
                 Options options,
                 @NotNull
                 java.lang.String buildNumber)
The constructor of the class. This is where the main window is created. Initialization of a JXCWindow is the only task performed here.

Parameters:
options - the options
buildNumber - the client's build number
Method Detail

getBuildNumber

@NotNull
private static java.lang.String getBuildNumber()
Returns the build number as a string.

Returns:
the build number

main

public static void main(@NotNull
                        java.lang.String[] args)
The program entry point.

Parameters:
args - The command line arguments.

openDebugStream

@Nullable
private static java.io.Writer openDebugStream(@Nullable
                                                       java.lang.String filename)
Opens an debug output stream.

Parameters:
filename - the filename to write to or null
Returns:
the output stream or null