Class PrintContentFile

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicjournal.PrintContentFile
All Implemented Interfaces:
Runnable

public class PrintContentFile extends JposOutputRequest
Output request executor for ElectronicJournal method PrintContentFile.
  • Constructor Details

    • PrintContentFile

      public PrintContentFile(JposCommonProperties props, String fileName)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      fileName - Name of file that contains printing data.
  • Method Details

    • getFileName

      public String getFileName()
      ElectronicJournal method PrintContentFile parameter fileName, see UPOS specification.
      Returns:
      Filename to be used as journal source.
    • invoke

      public void invoke() throws jpos.JposException
      Description copied from class: JposOutputRequest
      Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.
      Overrides:
      invoke in class JposOutputRequest
      Throws:
      jpos.JposException - JposException thrown by the command to be executed.