Package deltix.qsrv.hf.tickdb.ui.tbshell
Class SimpleIMSPrinter
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.ui.tbshell.SimpleIMSPrinter
-
- All Implemented Interfaces:
IMSPrinter
public class SimpleIMSPrinter extends java.lang.Object implements IMSPrinter
-
-
Field Summary
Fields Modifier and Type Field Description static char
CR
static java.lang.String
KEYWORD_SYMBOL
static java.lang.String
KEYWORD_TIMESTAMP
static java.lang.String
KEYWORD_TYPE
static java.lang.String
NEWTYPE
static java.lang.String
NULLSTR
static char
SEP
static java.lang.String
STATICHDR
-
Constructor Summary
Constructors Constructor Description SimpleIMSPrinter(java.io.Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstrumentMessageSource
getIMS()
int
getMaxCount()
void
printAll()
void
printMessage(MessageInfo msginfo)
void
printTypeHeader()
void
setIMS(InstrumentMessageSource ims, boolean closeWhenDone)
void
setMaxCount(int maxCount)
void
setOut(java.io.Writer out)
-
-
-
Field Detail
-
NULLSTR
public static final java.lang.String NULLSTR
- See Also:
- Constant Field Values
-
SEP
public static final char SEP
- See Also:
- Constant Field Values
-
CR
public static final char CR
- See Also:
- Constant Field Values
-
NEWTYPE
public static final java.lang.String NEWTYPE
- See Also:
- Constant Field Values
-
STATICHDR
public static final java.lang.String STATICHDR
- See Also:
- Constant Field Values
-
KEYWORD_TIMESTAMP
public static final java.lang.String KEYWORD_TIMESTAMP
- See Also:
- Constant Field Values
-
KEYWORD_SYMBOL
public static final java.lang.String KEYWORD_SYMBOL
- See Also:
- Constant Field Values
-
KEYWORD_TYPE
public static final java.lang.String KEYWORD_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setOut
public void setOut(java.io.Writer out)
- Specified by:
setOut
in interfaceIMSPrinter
-
setIMS
public void setIMS(InstrumentMessageSource ims, boolean closeWhenDone)
- Specified by:
setIMS
in interfaceIMSPrinter
-
getIMS
public InstrumentMessageSource getIMS()
- Specified by:
getIMS
in interfaceIMSPrinter
-
getMaxCount
public int getMaxCount()
- Specified by:
getMaxCount
in interfaceIMSPrinter
-
setMaxCount
public void setMaxCount(int maxCount)
- Specified by:
setMaxCount
in interfaceIMSPrinter
-
printAll
public void printAll() throws java.io.IOException
- Specified by:
printAll
in interfaceIMSPrinter
- Throws:
java.io.IOException
-
printTypeHeader
public void printTypeHeader() throws java.io.IOException
- Throws:
java.io.IOException
-
printMessage
public void printMessage(MessageInfo msginfo) throws java.io.IOException
- Throws:
java.io.IOException
-
-