public class MappingImportHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MappingImportHelper.ImportFileType
The constants of this enumerated type provides a simple classification of the declared elements.
|
static class |
MappingImportHelper.ImportType
The constants of this enumerated type provides a simple classification of the declared elements.
|
Constructor and Description |
---|
MappingImportHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilePath()
Returns the filePath from where the sourceFile is imported.
|
APIConstants.FilePathType |
getFilePathType()
Returns the path type of the given file.i.e ABSOLUTE OR RELATIVE
|
java.lang.String |
getHeaderString()
Returns the headerString present in the imported file.
|
MappingImportHelper.ImportFileType |
getImportFileType()
Returns the fileType of the file imported.
|
MappingImportHelper.ImportType |
getImportType()
Returns the type of import.
|
java.lang.String |
getMailComments()
Returns the mailComments which are specified while importing the file..
|
boolean |
isTreatFirstRowAsHeader()
Returns the value of treatFirstRowAsHeader as True or False.
|
void |
setFilePath(java.lang.String filePath)
Sets the filePath as specified.
|
void |
setFilePathType(APIConstants.FilePathType filePathType)
Method sets the path type for the specified file.
|
void |
setHeaderString(java.lang.String headerString)
Sets the headerString as specified.
|
void |
setImportFileType(MappingImportHelper.ImportFileType importFileType)
Sets the importFileType as specified.
|
void |
setImportType(MappingImportHelper.ImportType importType)
Sets the importType as specified.
|
void |
setMailComments(java.lang.String mailComments)
Sets the mailComments as specified.
|
void |
setTreatFirstRowAsHeader(boolean treateFirstRowAsHeader)
Sets the value of treateFirstRowAsHeader as specified.
|
public APIConstants.FilePathType getFilePathType()
public void setFilePathType(APIConstants.FilePathType filePathType)
filePathType
- - Enum : Valid values are ABSOLUTE/RELATIVEpublic java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
filePath
- Stringpublic MappingImportHelper.ImportFileType getImportFileType()
public void setImportFileType(MappingImportHelper.ImportFileType importFileType)
importFileType
- ImportFileTypepublic MappingImportHelper.ImportType getImportType()
public void setImportType(MappingImportHelper.ImportType importType)
importType
- ImportTypepublic java.lang.String getMailComments()
public void setMailComments(java.lang.String mailComments)
mailComments
- Stringpublic java.lang.String getHeaderString()
public void setHeaderString(java.lang.String headerString)
headerString
- Stringpublic boolean isTreatFirstRowAsHeader()
public void setTreatFirstRowAsHeader(boolean treateFirstRowAsHeader)
treateFirstRowAsHeader
- boolean