Package net.sourceforge.uiq3.fa6
Enum Files
- java.lang.Object
-
- java.lang.Enum<Files>
-
- net.sourceforge.uiq3.fa6.Files
-
- All Implemented Interfaces:
Serializable,Comparable<Files>
public enum Files extends Enum<Files>
- Since:
- 1.0
- Version:
- 1.0
- Author:
- martin
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BiorhythmusCalculator_0Calculator_1Calculator_2ErrorsPrinterQDTADDTape
-
Field Summary
Fields Modifier and Type Field Description StringBinary_Filenamefilename of Testfile usable for java file I/Oshort @NotNull []Casio_Filenamefilename of Testfile usable for CASIO file I/Oshort @NotNull []EXEExecute and all file load loadprivate static intHeader_Footer_SizeintLast_Stepthe last test loadedlongLengthFile lengthStringLoaded_Programs_1Text to be displayed when Mode 2 is activeStringLoaded_Programs_2Text to be displayed when Mode 2 is activeprivate static intLoaded_Programs_LengthLength of the loaded program string.private static LoggerLoggerClass logger instance.private static StringProject_HomeProject homeStringStepsText to be displayed when Mode 2 is activeprivate static StringTAGClass logger tag.StringText_Filenamefilename of Testfile usable for java file I/O
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileAs_Absolute_Path(String Base_Name)Resolves the absolute file for Unit testing.FileBinary_As_Absolute_Path()Resolves the absolute file for Unit testing.FileText_As_Absolute_Path()Resolves the absolute file for Unit testing.@NotNull StringtoString()static FilesvalueOf(String name)Returns the enum constant of this type with the specified name.static Files[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Biorhythmus
public static final Files Biorhythmus
-
QDTADD
public static final Files QDTADD
-
Calculator_0
public static final Files Calculator_0
-
Calculator_1
public static final Files Calculator_1
-
Calculator_2
public static final Files Calculator_2
-
Errors
public static final Files Errors
-
Printer
public static final Files Printer
-
Tape
public static final Files Tape
-
-
Field Detail
-
Header_Footer_Size
private static final int Header_Footer_Size
- See Also:
- Constant Field Values
-
Loaded_Programs_Length
private static final int Loaded_Programs_Length
Length of the loaded program string.- See Also:
- Constant Field Values
-
Logger
private static final Logger Logger
Class logger instance.
-
TAG
private static final String TAG
Class logger tag.
-
Binary_Filename
public final String Binary_Filename
filename of Testfile usable for java file I/O
-
Casio_Filename
public final short @NotNull [] Casio_Filename
filename of Testfile usable for CASIO file I/O
-
EXE
public final short @NotNull [] EXE
Execute and all file load load
-
Last_Step
public final int Last_Step
the last test loaded
-
Length
public final long Length
File length
-
Loaded_Programs_1
public final String Loaded_Programs_1
Text to be displayed when Mode 2 is active
-
Loaded_Programs_2
public final String Loaded_Programs_2
Text to be displayed when Mode 2 is active
-
Steps
public final String Steps
Text to be displayed when Mode 2 is active
-
Text_Filename
public final String Text_Filename
filename of Testfile usable for java file I/O
-
Project_Home
private static final String Project_Home
Project home
-
-
Method Detail
-
values
public static Files[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Files c : Files.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Files valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
As_Absolute_Path
@NotNull public static File As_Absolute_Path(String Base_Name)
Resolves the absolute file for Unit testing.- Returns:
- absolute path of the file
-
Binary_As_Absolute_Path
@NotNull public File Binary_As_Absolute_Path()
Resolves the absolute file for Unit testing.- Returns:
- absolute path of the file
-
Text_As_Absolute_Path
@NotNull public File Text_As_Absolute_Path()
Resolves the absolute file for Unit testing.- Returns:
- absolute path of the file
-
-