|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.impexp.ImpFormat
public final class ImpFormat
Import Format a Row
| Field Summary | |
|---|---|
static String |
FORMATTYPE_COMMA
Format Type - Comma Separated C |
static String |
FORMATTYPE_FIXED
Format Type - Fixed Length F |
static String |
FORMATTYPE_TAB
Format Type - Tab Separated T |
static String |
FORMATTYPE_XML
Format Type - XML X |
| Constructor Summary | |
|---|---|
ImpFormat(String name,
int AD_Table_ID,
String formatType)
Format |
|
| Method Summary | |
|---|---|
void |
addRow(ImpFormatRow row)
Add Format Row |
int |
getAD_Table_ID()
Get Import Table Name |
String |
getBPartner()
Get Business Partner |
String |
getFormatType()
Set Format Type |
String |
getName()
Get Name |
ImpFormatRow |
getRow(int index)
Get Row |
int |
getRowCount()
Get Row Count |
static ImpFormat |
load(String name)
Factory load |
String[] |
parseLine(String line,
boolean withLabel,
boolean trace,
boolean ignoreEmpty)
Parse Line returns ArrayList of values |
void |
setBPartner(String newBPartner)
Set Business Partner |
void |
setFormatType(String newFormatType)
Set Format Type |
void |
setName(String newName)
Set Name |
void |
setTable(int AD_Table_ID)
Import Table |
boolean |
updateDB(Properties ctx,
String line,
String trxName)
Insert/Update Database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FORMATTYPE_FIXED
public static final String FORMATTYPE_COMMA
public static final String FORMATTYPE_TAB
public static final String FORMATTYPE_XML
| Constructor Detail |
|---|
public ImpFormat(String name,
int AD_Table_ID,
String formatType)
name - nameAD_Table_ID - tableformatType - format type| Method Detail |
|---|
public void setName(String newName)
newName - new namepublic String getName()
public void setTable(int AD_Table_ID)
AD_Table_ID - tablepublic int getAD_Table_ID()
public void setFormatType(String newFormatType)
newFormatType - - F/C/T/Xpublic String getFormatType()
public void setBPartner(String newBPartner)
newBPartner - (value)public String getBPartner()
public void addRow(ImpFormatRow row)
row - rowpublic ImpFormatRow getRow(int index)
index - index
public int getRowCount()
public static ImpFormat load(String name)
name - name
public String[] parseLine(String line,
boolean withLabel,
boolean trace,
boolean ignoreEmpty)
line - linewithLabel - true if with labeltrace - create trace infoignoreEmpty - - ignore empty fields
public boolean updateDB(Properties ctx,
String line,
String trxName)
ctx - contextline - linetrxName - transaction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||