|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openlca.dataconversion.DataFormat
public class DataFormat
| Field Summary | |
|---|---|
static int |
ECOSPOLD
Constant type key for the EcoSpold data format. |
static int |
ELCD
Constant type key for the ELCD data format. |
static int |
ISOTS14048_IMI
Constant type key for the ISOTS14048/IMI data format. |
| Constructor Summary | |
|---|---|
DataFormat(int type)
Creates a new instance of DataFormat. |
|
| Method Summary | |
|---|---|
boolean |
equals(DataFormat dataformat)
Returns true if the data format types are equal. |
boolean |
equals(int type)
Returns true if the data format types are equal. |
java.lang.String |
getName()
Returns the data format name. |
static java.lang.String |
getName(int type)
Returns the format name for a given type key: |
int |
getType()
Returns the data format type key. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ECOSPOLD
public static final int ELCD
public static final int ISOTS14048_IMI
| Constructor Detail |
|---|
public DataFormat(int type)
throws ConverterException
type - Format type key: 0 = EcoSpold, 1 = ELCD, 2 = ISOTS14048/IMI.
ConverterException| Method Detail |
|---|
public java.lang.String getName()
public static final java.lang.String getName(int type)
type - 0 = EcoSpold, 1 = ELCD, 2 = ISOTS14048/IMI.
public boolean equals(DataFormat dataformat)
dataformat - Allowed object is DataFormat.
public boolean equals(int type)
type - 0 = EcoSpold, 1 = ELCD, 2 = ISOTS14048/IMI.
public java.lang.String toString()
toString in class java.lang.Objectpublic int getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||