frysk.dom
Class DOMCompilerSuffixes

java.lang.Object
  extended by frysk.dom.DOMCompilerSuffixes

public class DOMCompilerSuffixes
extends Object

DOMCompilerSuffixes contains the suffixes associated with each type of file the compiler recognizes. This list was created from the command: info gcc Invoking Overall This command provides a list of all the files associated with gcc and g++, that is, which suffixes are assumed to be "c" files and which files are assumed to be "c++" files.


Field Summary
static String[] C
           
static String[] CHEADER
           
static String[] CPP
           
static String[] CPPHEADER
           
 
Constructor Summary
DOMCompilerSuffixes()
           
 
Method Summary
static boolean checkC(String file)
          checkC checks for the validity of file suffixes for source files that the gcc compiler recognizes.
static boolean checkCHeader(String file)
          checkCHeader checks for the validity of file suffixes for source file headers that the gcc compiler recognizes.
static boolean checkCPP(String file)
          checkCPP checks for the validity of file suffixes for source files that the g++ compiler recognizes.
static boolean checkCPPHeader(String file)
          checkCPPHeader checks for the validity of file suffixes for source file headers that the g++ compiler recognizes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CPP

public static final String[] CPP

C

public static final String[] C

CPPHEADER

public static final String[] CPPHEADER

CHEADER

public static final String[] CHEADER
Constructor Detail

DOMCompilerSuffixes

public DOMCompilerSuffixes()
Method Detail

checkCPP

public static boolean checkCPP(String file)
checkCPP checks for the validity of file suffixes for source files that the g++ compiler recognizes.

Parameters:
file - is a String containing the name of the source file to be checked
Returns:
true if it is a valid name, false if not

checkC

public static boolean checkC(String file)
checkC checks for the validity of file suffixes for source files that the gcc compiler recognizes.

Parameters:
file - is a String containing the name of the source file to be checked
Returns:
true if it is a valid name, false if not

checkCHeader

public static boolean checkCHeader(String file)
checkCHeader checks for the validity of file suffixes for source file headers that the gcc compiler recognizes.

Parameters:
file - is a String containing the name of the source file to be checked
Returns:
true if it is a valid name, false if not

checkCPPHeader

public static boolean checkCPPHeader(String file)
checkCPPHeader checks for the validity of file suffixes for source file headers that the g++ compiler recognizes.

Parameters:
file - is a String containing the name of the source file to be checked
Returns:
true if it is a valid name, false if not