Package net.sourceforge.uiq3.fa6
Class SE_Serial
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Interface
-
- net.sourceforge.uiq3.fa6.Serial
-
- net.sourceforge.uiq3.fa6.SE_Serial
-
public final class SE_Serial extends Serial
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.fa6.Serial
File_Name, Home_Directory, New_Line, Setting_Name
-
-
Constructor Summary
Constructors Constructor Description SE_Serial(Calculator Owner)
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 Writer
Create_Stream(@NotNull String Filename)
Create a new file for output.long
File_Size()
Get file Sizeprotected Reader
Open_Stream(@NotNull String Filename)
Create a new file for output.@NotNull String
toString()
-
Methods inherited from class net.sourceforge.uiq3.fa6.Serial
Create, Home_Directory, Home_Directory, Open, Open, Parse_M, Parse_Steps, Print_M, Print_New_Line, Print_Steps
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Interface
Convert_To_Alpha, Convert_To_Java, Convert_To_Java, Convert_To_Java, Convert_To_Token, Is_Enabled, Set_Enable
-
-
-
-
Field Detail
-
logger
private static final Logger logger
class logger instance
-
TAG
private static final String TAG
class logger tag.
-
delegate
private final SE_Interface delegate
Delegate class to emulate mutiple inheritance
-
-
Constructor Detail
-
SE_Serial
public SE_Serial(@NotNull Calculator Owner)
initialise cassette interface
-
-
Method Detail
-
Close
public void Close() throws Op_Error
Close files and all streams attached to them.- Overrides:
Close
in classSerial
- Throws:
Op_Error
- Something went wrong- See Also:
Serial.Close()
-
Create_Stream
@NotNull protected Writer Create_Stream(@NotNull @NotNull String Filename) throws Op_Error
Description copied from class:Serial
Create a new file for output.- Specified by:
Create_Stream
in classSerial
- Parameters:
Filename
- filename.- Returns:
- data stream to write to.
- Throws:
Op_Error
- io error.- See Also:
Serial.Create_Stream(java.lang.String)
-
File_Size
public long File_Size() throws Op_Error
Get file Size- Specified by:
File_Size
in classSerial
- Returns:
- File size
- Throws:
Op_Error
- any file io error- See Also:
Serial.File_Size()
-
Open_Stream
@NotNull protected Reader Open_Stream(@NotNull @NotNull String Filename) throws Op_Error
Create a new file for output.- Specified by:
Open_Stream
in classSerial
- Parameters:
Filename
- filename.- Returns:
- data stream to read from.
- Throws:
Op_Error
- io error.- See Also:
Serial.Create_Stream(java.lang.String)
-
-