Package net.sourceforge.uiq3.fa2
Class SE_Tape
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Interface
-
- net.sourceforge.uiq3.fa2.Tape
-
- net.sourceforge.uiq3.fa2.SE_Tape
-
public final class SE_Tape extends Tape
Cassette interface for JavaSE- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private SE_InterfacedelegateDelegate class to emulate mutiple inheritanceprivate static LoggerLoggerclass logger instanceprivate static StringTAGclass logger tag.-
Fields inherited from class net.sourceforge.uiq3.fa2.Tape
File_Name, File_Read, Home_Directory, Last_Header, No_Name, Setting_Name
-
-
Constructor Summary
Constructors Constructor Description SE_Tape()initialise cassette interface
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidClose()Close files and all streams attached to them.protected DataOutputStreamCreate_Stream(@NotNull String Filename)Create a new file for output.longFile_Size()Get file Sizeprotected DataInputStreamOpen_Stream(@NotNull String Filename)Create a new file for output.@NotNull StringtoString()-
Methods inherited from class net.sourceforge.uiq3.fa2.Tape
Create, Get_File_Read, Home_Directory, Home_Directory, Open, Open, Read, Read, Read_EOF, Write, Write, Write_EOF
-
Methods inherited from class net.sourceforge.uiq3.fx602p.Interface
Convert_To_Java, Convert_To_Java, Enable, Is_Enabled
-
-
-
-
Field Detail
-
TAG
private static final String TAG
class logger tag.
-
Logger
private static final Logger Logger
class logger instance
-
delegate
@NotNull private final SE_Interface delegate
Delegate class to emulate mutiple inheritance
-
-
Method Detail
-
Close
public void Close() throws Op_ErrorClose files and all streams attached to them.- Overrides:
Closein classTape- Throws:
Op_Error- Something went wrong- See Also:
Tape.Close()
-
Create_Stream
protected DataOutputStream Create_Stream(@NotNull @NotNull String Filename) throws Op_Error
Description copied from class:TapeCreate a new file for output.- Specified by:
Create_Streamin classTape- Parameters:
Filename- filename.- Returns:
- data stream to write to.
- Throws:
Op_Error- io error.- See Also:
Tape.Create_Stream(java.lang.String)
-
File_Size
public long File_Size()
Get file Size- Specified by:
File_Sizein classTape- Returns:
- File size
- See Also:
Tape.File_Size()
-
Open_Stream
protected DataInputStream Open_Stream(@NotNull @NotNull String Filename) throws Op_Error
Create a new file for output.- Specified by:
Open_Streamin classTape- Parameters:
Filename- filename.- Returns:
- data stream to read from.
- Throws:
Op_Error- io error.- See Also:
Tape.Create_Stream(java.lang.String)
-
-