package com.alexrnl.jbetaseries;

import java.util.logging.Logger;

/**
 * Entry point of the interface to the BetaSeries API.<br />
 * @author Alex
 */
public class JBetaSeries {
	/** Logger */
	private static Logger	lg	= Logger.getLogger(JBetaSeries.class.getName());
	
	/** The key to use for the API */
	private String key;
	/** The preferred data type format */
	private Format preferredFormat;
	/** The token for the user */
	private String token;
}

@@ -153,16 +153,22 @@
 %0Apublic 
+final 
 class JB
@@ -179,16 +179,16 @@
 eries %7B%0A
-
 %09/** Log
@@ -315,23 +315,29 @@
 private 
+final 
 String
- 
+%09
 key;%0A%09/*
@@ -385,84 +385,635 @@
 ate 
-Format preferredFormat;%0A%09/** The token for the user */%0A%09private String token;
+final Format%09format;%0A%09/** The token for the user, %3Ccode%3Enull%3C/code%3E if no user is logged. */%0A%09private final String%09token;%0A%09%0A%09/**%0A%09 * Constructor #1.%3Cbr /%3E%0A%09 * This will use the %7B@link Format#XML XML%7D format of the API.%0A%09 * @param key%0A%09 *        the API key to use.%0A%09 */%0A%09public JBetaSeries (final String key) %7B%0A%09%09this(key, Format.XML);%0A%09%7D%0A%09%0A%09/**%0A%09 * Constructor #2.%3Cbr /%3E%0A%09 * @param key%0A%09 *        the API key to use.%0A%09 * @param format%0A%09 *        the data type required for the API.%0A%09 */%0A%09public JBetaSeries (final String key, final Format format) %7B%0A%09%09super();%0A%09%09this.key = key;%0A%09%09this.format = format;%0A%09%09this.token = null;%0A%09%7D%0A%09
 %0A%7D%0A

Add constructors to main class