public class LoggerFiscalPortSource extends java.lang.Object implements FiscalPortSource, java.lang.Cloneable
Constructor and Description |
---|
LoggerFiscalPortSource() |
LoggerFiscalPortSource(FiscalPortSource portSource) |
LoggerFiscalPortSource(FiscalPortSource portSource,
java.io.PrintStream printStream) |
LoggerFiscalPortSource(FiscalPortSource portSource,
java.io.PrintWriter printWriter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a deep copy of this port source.
|
FiscalPort |
getFiscalPort()
Create a LoggerFiscalPort object.
|
LoggerFiscalPort |
getLoggerFiscalPort()
Create a LoggerFiscalPort object.
|
FiscalPortSource |
getPortSource()
Get the underlying FiscalPortSource.
|
java.io.PrintStream |
getPrintStream()
Get the logging PrintStream.
|
java.io.PrintWriter |
getPrintWriter()
Get the logging PrintWriter.
|
void |
setPortSource(FiscalPortSource portSource)
Set the underlying FiscalPortSource.
|
void |
setPrintStream(java.io.PrintStream printStream)
Set the logging PrintStream.
|
void |
setPrintWriter(java.io.PrintWriter printWriter)
Set the logging PrintWriter.
|
public LoggerFiscalPortSource()
public LoggerFiscalPortSource(FiscalPortSource portSource)
public LoggerFiscalPortSource(FiscalPortSource portSource, java.io.PrintWriter printWriter)
public LoggerFiscalPortSource(FiscalPortSource portSource, java.io.PrintStream printStream)
public java.lang.Object clone()
FiscalPortSource
clone
in interface FiscalPortSource
clone
in class java.lang.Object
public void setPortSource(FiscalPortSource portSource)
public FiscalPortSource getPortSource()
public void setPrintWriter(java.io.PrintWriter printWriter)
public java.io.PrintWriter getPrintWriter()
public void setPrintStream(java.io.PrintStream printStream)
public java.io.PrintStream getPrintStream()
public FiscalPort getFiscalPort() throws java.lang.Exception
getFiscalPort
in interface FiscalPortSource
java.lang.Exception
public LoggerFiscalPort getLoggerFiscalPort() throws java.lang.Exception
java.lang.Exception