public class DelphiStringRecordReaderFactory extends Object implements IReaderFactory
IReaderFactory
that provides a reader that reads Delphi records containing Strings.Constructor and Description |
---|
DelphiStringRecordReaderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
Reader |
getReader(InputStream in,
String charset,
String streamId,
PipeLineSession session)
Obtain a Reader that reads lines in the given characterset.
|
String |
getSeparator() |
String |
getSeparatorReplacement() |
int |
getStringLength() |
int |
getStringsPerRecord() |
void |
setSeparator(String string)
separator placed between each string read
|
void |
setSeparatorReplacement(String string)
replacement character, used when separator is found in string read
|
void |
setStringLength(int i)
the maximum length of each string.
|
void |
setStringsPerRecord(int i)
the number of strings read for each record.
|
public void configure() throws ConfigurationException
configure
in interface IReaderFactory
ConfigurationException
public Reader getReader(InputStream in, String charset, String streamId, PipeLineSession session) throws SenderException
IReaderFactory
getReader
in interface IReaderFactory
SenderException
public void setSeparator(String string)
public String getSeparator()
public void setStringLength(int i)
public int getStringLength()
public void setStringsPerRecord(int i)
public int getStringsPerRecord()
public void setSeparatorReplacement(String string)
public String getSeparatorReplacement()
Copyright © 2023 Frank!Framework. All rights reserved.