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_Interface
delegate
Delegate class to emulate mutiple inheritanceprivate static Logger
Logger
class logger instanceprivate static String
TAG
class 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 void
Close()
Close files and all streams attached to them.protected DataOutputStream
Create_Stream(@NotNull String Filename)
Create a new file for output.long
File_Size()
Get file Sizeprotected DataInputStream
Open_Stream(@NotNull String Filename)
Create a new file for output.@NotNull String
toString()
-
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_Error
Close files and all streams attached to them.- Overrides:
Close
in 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:Tape
Create a new file for output.- Specified by:
Create_Stream
in 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_Size
in 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_Stream
in classTape
- Parameters:
Filename
- filename.- Returns:
- data stream to read from.
- Throws:
Op_Error
- io error.- See Also:
Tape.Create_Stream(java.lang.String)
-
-