Class ImageFile

java.lang.Object
svm.env.dataset.Dataset
svm.env.dataset.ImageFile
Direct Known Subclasses:
Directfile, Infile, Outfile

public class ImageFile extends Dataset

ImageFile Bridge.

Link to GitHub: Source File.

Author:
Simula Standard, S-Port: The Environment Interface, Øystein Myhre Andersen
  • Field Details

    • imglng

      int imglng
      The image length
  • Constructor Details

    • ImageFile

      public ImageFile(String fileName, int type, String action, int imglng)
      Construct a new ImageFile with the given arguments.
      Parameters:
      fileName - the fileName
      type - the fileType
      action - the action string
      imglng - the image length
  • Method Details

    • outimage

      public void outimage(String image)
      Writes outimage to the underlying file
      Parameters:
      image - the image string to be written
    • breakOutimage

      public void breakOutimage(String image)
      Writes breakOutimage to the underlying file
      Parameters:
      image - the image string to be written
    • inimage

      public int inimage(ObjectAddress chrAddr, int nchr)
      Reads a line from the underlying file into a character area
      Parameters:
      chrAddr - the start of the area
      nchr - the length of the area
      Returns:
      the number of characters filled