eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractSourceFileReader':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: AbstractSourceFileReader


Inheritance:

   Object
   |
   +--AbstractSourceFileReader
      |
      +--SmalltalkChunkFileSourceReader

Package:
stx:libbasic
Category:
Kernel-Classes-Support
Version:
rev: 1.14 date: 2023/01/29 17:50:38
user: cg
file: AbstractSourceFileReader.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Abstract common superclass for source file readers

copyright

COPYRIGHT (c) 2009 by Claus Gittinger / eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

fileIn
o  fileIn: aFilenameOrString

o  fileInStream: aStream

queries
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.


Instance protocol:

fileIn
o  fileIn: aFilenameOrString

o  fileInStream: arg
raise an error: must be redefined in concrete subclass(es)

** This method must be redefined in concrete classes (subclassResponsibility) **

reading - API
o  changeSetFromFile: aFile
CuisFileReader new
changeSetFromFile:('C:\Users\cg\work_mingw\stx\goodies\sound\siren9\original\Siren9C-main\Siren9C_Sources_Cuis\Music-Events.st').

o  changeSetFromStream: aStream
CuisFileReader new
changeSetFromFile:('C:\Users\cg\work_mingw\stx\goodies\sound\siren9\original\Siren9C-main\Siren9C_Sources_Cuis\Music-Events.st').


** This method must be redefined in concrete classes (subclassResponsibility) **



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:21:10 GMT