public class RegisterLoadPattern
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_DBF |
static int |
TYPE_TXT |
Constructor and Description |
---|
RegisterLoadPattern(Setup setup,
java.lang.String key,
java.lang.String title,
int fileType,
java.lang.String[] balanceItemTypes,
int registerType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
java.lang.String |
getPatternTitle() |
java.lang.String |
getPaymentComment() |
int |
getRegisterType() |
java.lang.String |
getTitle() |
Register |
loadRegister(java.sql.Connection con,
RegisterLoadData data) |
java.lang.String |
processString(java.sql.Connection con,
RegisterItemManager itemManager,
Register register,
java.lang.String[] line,
java.util.Date pdate) |
void |
setBalanceItemTypes(int[] paymentType) |
void |
setCommentDelimiter(java.lang.String commentDelimiter) |
void |
setCommentPositions(java.lang.String[] commentPositions) |
void |
setContractId(int contractId) |
void |
setDateFormat(java.text.DateFormat dateFormat) |
void |
setDatePos(int datePos) |
void |
setEncoding(java.lang.String encoding) |
void |
setIdPos(int idPos) |
void |
setPattern(java.util.regex.Pattern pattern) |
void |
setPatternTitle(java.lang.String patternTitle) |
void |
setRegisterType(int registerType) |
void |
setSearchContracts(bitel.billing.server.contract.bean.find.SearchContracts contractFinders) |
void |
setSummaPos(int[] summaPos) |
void |
setSummaPos(java.lang.String[] summaPos) |
void |
setSummaReplace(java.lang.String summaReplace) |
void |
setType(int type) |
void |
setZeroEncoding(boolean zeroEncoding) |
public static final int TYPE_TXT
public static final int TYPE_DBF
public RegisterLoadPattern(Setup setup, java.lang.String key, java.lang.String title, int fileType, java.lang.String[] balanceItemTypes, int registerType)
public Register loadRegister(java.sql.Connection con, RegisterLoadData data)
public java.lang.String processString(java.sql.Connection con, RegisterItemManager itemManager, Register register, java.lang.String[] line, java.util.Date pdate)
public java.lang.String getKey()
public void setEncoding(java.lang.String encoding)
public void setSummaPos(int[] summaPos)
public void setSummaPos(java.lang.String[] summaPos)
public void setIdPos(int idPos)
public void setContractId(int contractId)
public void setCommentPositions(java.lang.String[] commentPositions)
public void setSearchContracts(bitel.billing.server.contract.bean.find.SearchContracts contractFinders)
public java.lang.String getPaymentComment()
public void setSummaReplace(java.lang.String summaReplace)
public void setType(int type)
public void setPattern(java.util.regex.Pattern pattern)
public void setBalanceItemTypes(int[] paymentType)
public java.lang.String getTitle()
public void setDatePos(int datePos)
public void setDateFormat(java.text.DateFormat dateFormat)
public void setZeroEncoding(boolean zeroEncoding)
public java.lang.String getPatternTitle()
public void setPatternTitle(java.lang.String patternTitle)
public int getRegisterType()
public void setRegisterType(int registerType)
public void setCommentDelimiter(java.lang.String commentDelimiter)