|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.peer.LyConnection
leon.peer.file.LyFileConnection
leon.peer.file.LyImportFileConnection
public class LyImportFileConnection
This class is used as a connection for import.
LyConnection
,
LyFileConnection
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.peer.file.LyFileConnection |
---|
TEST_CHARSET |
Constructor Summary | |
---|---|
LyImportFileConnection(LyApplication application,
java.lang.String filePath)
Constructor. |
Method Summary | |
---|---|
int |
getStartLine()
Return the start line. |
void |
setDecodingType(int decodingType)
Sets the decoding type. |
void |
setFileFieldIds(java.util.Vector<java.lang.String> fieldIds)
Sets the list of the field identifers contained in the file. |
void |
setLogicalClass(LyClassInfo classInfo)
Sets the logical class associated with this connection. |
void |
setStartLine(int startLine)
Sets the start line. |
Methods inherited from class leon.peer.file.LyFileConnection |
---|
closeFile, getConnectionCharset, openFile, readFile, writeFile, writeLine |
Methods inherited from class leon.peer.LyConnection |
---|
addValue, autoCommit, close, commit, dump, getError, getUID, getValue, isClosed, isReserved, prepareCommit, released, reserved, rollback, setDataProvider, setError, setUID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyImportFileConnection(LyApplication application, java.lang.String filePath)
classInfo
- ClassInfo used by the request encoder.Method Detail |
---|
public void setDecodingType(int decodingType)
decodingType
- one of the following:
public void setFileFieldIds(java.util.Vector<java.lang.String> fieldIds)
fieldIds
- the list of the field identifers contained in the file.public void setLogicalClass(LyClassInfo classInfo)
classInfo
- the new logical class associated with this connection.public void setStartLine(int startLine)
startLine
- the index of the first line of the imported file containing real data.public int getStartLine()
getStartLine
in class LyFileConnection
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |