package am;
import java.io.PrintStream;

/**
 * GSM class contains global static variables that are used through out the program.
 *
 * @author ADVIS Research Laboratory
 * @version 11/27/2004
 */
public class GlobalStaticVariables
{
	// AgreementMaker Version!
	public static final String AgreementMakerVersion = "v0.22";
	
	/**
	 * IMPORTANT!:  USE_PROGRESS_BAR determines if the matcher will be sending setProgress() messages to the progress dialog.
	 * 
	 * The progress dialog will always be shown, but whether the progress bar will be used can be set here, using the USE_PROGRESS_BAR variable.
	 * This option has been added because using the progress bar adds a little overhead (stepDone() and setProgress() is called from inside the algorithm).
	 * So in order to allow for the developer users to achieve the best running time, the progress bar can be toggled on and off.   
	 */
	public static final boolean USE_PROGRESS_BAR = true;
	
	// local title
	public static final String TARGETTITLE = "Target Ontology";
	// ontology title
	public static final String SOURCETITILE = "Source Ontology";
	//	OWL File type representation
	public static final int SOURCENODE = 0;
	//	OWL File type representation
	public static final int TARGETNODE = 1;
	public static final int XMLFILE = 2;
	public static final int ONTFILE = 1;
	public static final int RDFSFILE = 0;
	public static final int TABBEDTEXT = 3;
	//public static final int DAMLFILE = 3;
	
	public static final int RDFXML = 0;
	public static final int RDFXMLABBREV = 1;
	public static final int NTRIPLE = 2;
	public static final int N3  = 3;
	public static final int TURTLE = 4;

	public final static String SYNTAX_RDFXML = "RDF/XML";
	public final static String SYNTAX_RDFXMLABBREV = "RDF/XML-ABBREV";
	public final static String SYNTAX_NTRIPLE = "N-TRIPLE";
	public final static String SYNTAX_N3 = "N3";
	public final static String SYNTAX_TURTLE = "TURTLE";
	public final static String[] syntaxStrings  = {SYNTAX_RDFXML, SYNTAX_RDFXMLABBREV, SYNTAX_NTRIPLE, SYNTAX_N3, SYNTAX_TURTLE};
	public final static String LANG_RDFS = "RDFS";
	public final static String LANG_OWL = "OWL";
	public final static String LANG_XML = "XML";
	public final static String LANG_TABBEDTEXT = "Tabbed TEXT";
	public static final String[] languageStrings = {LANG_RDFS, LANG_OWL, LANG_XML, LANG_TABBEDTEXT};

	
	
	public static final PrintStream out = new PrintStream(System.out, true);
	
	public static String getSyntaxString(int syntaxIndex) {
		//N3 and TURTLE ARE CONSIDERED SAME SYNTAX FOR THE REASONER
		if(syntaxIndex == 4) {
			syntaxIndex = 3;
		}
		return syntaxStrings[syntaxIndex];
	}
	
	public static String getLanguageString(int l) {

		return languageStrings[l];
	}
}
    

@@ -324,17 +324,17 @@
  = %22v0.2
-2
+3
 %22;%0D%0A%09%0D%0A%09
@@ -1339,18 +1339,18 @@
 al int O
-NT
+WL
 FILE = 1

Version 0.23