| Modifier and Type | Method and Description |
|---|---|
protected CSVReader |
ImpexTransformerTask.createCsvReader(java.io.File file)
Creates a CSV Reader
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ImpexTransformerTask.closeQuietly(CSVReader csvReader) |
protected java.io.PrintWriter |
ImpexTransformerTask.writeErrorLine(java.io.File file,
CSVReader csvReader,
java.io.PrintWriter errorWriter,
java.lang.IllegalArgumentException exc)
Prints an error line containing the reason and the source line to the error file
|
| Modifier and Type | Method and Description |
|---|---|
protected ImpExImportReader |
ClassificationImportJob.createImportReader(ImpExImportCronJob cronJob,
CSVReader csvReader,
ImportProcessor processor) |
| Constructor and Description |
|---|
MyClassificationImpExImportReader(ClassificationImportCronJob importCronJob,
CSVReader csvReader) |
MyClassificationImpExImportReader(ClassificationImportCronJob importCronJob,
CSVReader csvReader,
ImportProcessor processor) |
| Modifier and Type | Class and Description |
|---|---|
class |
UNSPSCReader |
| Modifier and Type | Class and Description |
|---|---|
class |
SyncScheduleReader |
| Modifier and Type | Method and Description |
|---|---|
protected CSVReader |
GenericCSVImportStep.createCSVReader(java.io.InputStream inputStream,
java.lang.String encoding)
As default creates a new
CSVReader instance with the given stream and encoding. |
| Constructor and Description |
|---|
PersistableDocumentIDRegistry(CSVReader documentIDReader,
CSVWriter documentIDWriter,
java.lang.String processCode) |
PersistableDocumentIDRegistry(CSVReader documentIDReader,
java.lang.String processCode) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ImpExReader.ResultSetCSVReader
A
CSVReader extension for reading a SQL ResultSet as CSV. |
| Modifier and Type | Method and Description |
|---|---|
CSVReader |
ImpExReader.getCSVReader()
Gets the reader instance of the main script.
|
protected CSVReader |
ImpExReader.getCurrentReader()
Returns the current activated reader used for reading data.
|
CSVReader |
ReaderManager.getMainReader()
Gets the main reader (reader given at constructor).
|
CSVReader |
ReaderManager.peekReader()
Gets the current reader instance.
|
CSVReader |
ReaderManager.popReader()
Closes, removes and returns current reader.
|
| Modifier and Type | Method and Description |
|---|---|
protected ImpExImportReader |
MultiThreadedImporter.createImportReader(CSVReader csvReader) |
protected ImpExImportReader |
Importer.createImportReader(CSVReader csvReader)
Creates an
ImpExImportReader instance for processing given input. |
Importer |
ImpExManager.importDataLight(CSVReader reader,
boolean codeexecution)
Imports data without using a cronjob.
Amount of maximal performed passes will be set to infinit (-1). For getting further informations about passed import process, the used Importer instance is returned.ATTENTION: No logs are available except of those fired to the log4j system. |
Importer |
ImpExManager.importDataLight(CSVReader reader,
boolean codeexecution,
int passes)
Imports data without using a cronjob.
For getting further informations about passed import process, the used Importer instance is returned.ATTENTION: No logs are available except of these fired to the log4j system. |
void |
DocumentIDRegistry.importIDs(CSVReader documentIDReader)
Imports a set of ID<->PK mappings from given reader.
|
void |
ImpExReader.includeExternalData(CSVReader reader)
Redirects the main reader to the given temporary reader for including external data.
|
void |
ImpExReader.includeExternalData(CSVReader reader,
int columnOffset)
Redirects the main reader to the given temporary reader for including external data.
|
void |
ImpExReader.includeExternalData(CSVReader reader,
int linesToSkip,
int columnOffset)
Redirects the main reader to the given temporary reader for including external data.
|
void |
ImpExReader.includeExternalData(CSVReader reader,
int columnOffset,
java.lang.String locationText)
Redirects the main reader to the given temporary reader for including external data.
|
void |
ReaderManager.pushReader(CSVReader reader,
int columnOffset,
java.lang.String locationText)
Pushes a reader at the reader stack, so it will be the current one.
|
static void |
ScriptValidationReader.validateScript(CSVReader reader)
Validates a script using the given reader.
|
| Constructor and Description |
|---|
DocumentIDRegistry(CSVReader documentIDReader)
Creates a registry with import of mappings and without export of new mappings.
|
DocumentIDRegistry(CSVReader documentIDReader,
CSVWriter documentIDWriter)
Creates a registry with import of mappings and with export of new mappings.
|
ImpExReader(CSVReader reader,
boolean skipValueLines)
Instantiates a new reader using the given
CSVReader as input. |
ImpExReader(CSVReader reader,
boolean skipValueLines,
EnumerationValue headerValidationMode)
Instantiates a new reader using the given
CSVReader as input. |
ImpExReader(CSVReader reader,
boolean skipValueLines,
EnumerationValue headerValidationMode,
DocumentIDRegistry docIdRegistry)
Instantiates a new reader using the given
CSVReader as input. |
ImpExReader(CSVReader reader,
boolean skipValueLines,
EnumerationValue headerValidationMode,
DocumentIDRegistry docIdRegistry,
InvalidHeaderPolicy headerHandlingPolicy) |
Importer(CSVReader source)
Instantiates a
Importer using given source as input for import. |
MultiThreadedImporter(CSVReader source) |
ReaderManager(CSVReader mainReader)
Creates a new manager initialized with given reader, which represents the main reader and will be pushed to the
bottom of the reader stack.
|
ScriptValidationReader(CSVReader reader,
EnumerationValue mode) |
ScriptValidationReader(CSVReader reader,
EnumerationValue mode,
DocumentIDRegistry docIdRegistry)
Creates a new validator using the given reader.
|
ScriptValidationReader(CSVReader reader,
java.lang.String mode) |
| Modifier and Type | Method and Description |
|---|---|
protected CSVReader |
ImpExImportJob.adjustCSVReader(CSVReader reader,
ImpExImportCronJob cronJob)
Adjusts the CSV reader to the cronjob specific requirements.
|
protected CSVReader |
ImpExImportJob.createCSVReader(ImpExImportCronJob cronJob)
Creates the csv reader which gives the
ImpExImportReader access to the source data. |
protected CSVReader |
CronJobDumpHandler.createReader()
Creates a new reader using last dump media as input.
|
| Modifier and Type | Method and Description |
|---|---|
protected CSVReader |
ImpExImportJob.adjustCSVReader(CSVReader reader,
ImpExImportCronJob cronJob)
Adjusts the CSV reader to the cronjob specific requirements.
|
protected ImpExImportReader |
ImpExImportJob.createImportReader(ImpExImportCronJob cronJob,
CSVReader csvReader,
ImportProcessor processor)
Creates the import reader instance used by the
Importer. |
| Constructor and Description |
|---|
MyImpExImportReader(CSVReader reader,
boolean legacyMode,
java.lang.String prefixForMediaLookup) |
MyImpExImportReader(CSVReader reader,
CSVWriter dumpWriter,
ImportProcessor processor,
boolean legacyMode,
java.lang.String prefixForMediaLookup) |
MyMultiThreadedImpExImportReader(CSVReader reader,
boolean legacyMode,
java.lang.String prefixForMediaLookup) |
MyMultiThreadedImpExImportReader(CSVReader reader,
CSVWriter dumpWriter,
MultiThreadedImportProcessor processor,
boolean legacyMode,
java.lang.String prefixForMediaLookup) |
| Modifier and Type | Method and Description |
|---|---|
protected ImpExReader |
Exporter.createImpExReader(CSVReader scriptReader,
DocumentIDRegistry docIDRegistry,
EnumerationValue headerValidationMode)
creates an (@see MyImpExReader) instance
|
| Modifier and Type | Method and Description |
|---|---|
protected CSVReader |
DefaultDumpHandler.createReader()
Creates a new reader using last dump file as input.
|
CSVReader |
DumpHandler.getReaderOfLastDump()
Gets a reader object to the last dump storage.
|
CSVReader |
AbstractDumpHandler.getReaderOfLastDump() |
| Modifier and Type | Method and Description |
|---|---|
protected de.hybris.platform.impex.jalo.imp.MultiThreadedImpExImportReaderIntegrationTest.TestableMultiThreadedImpExImportReader |
MultiThreadedImpExImportReaderIntegrationTest.TestImpExImportJob.createImportReader(ImpExImportCronJob cronJob,
CSVReader csvReader,
ImportProcessor processor) |
protected void |
AbstractDumpHandler.setReaderOfLastDump(CSVReader reader)
Sets a new reader object for 'last' dump.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultImpExTransformationService.hasValidSource(MappingModel mappingModel,
CSVReader csvReader)
Checks if the mapping model for transformation and the CSVReader used to read source in the mapping model is valid.
|
protected boolean |
DefaultImpExTransformationService.isValidCsvReadLine(CSVReader csvReader,
int linesToSkip)
Checks if the current
CSVReader line is valid |
| Modifier and Type | Method and Description |
|---|---|
CSVReader |
ImportCockpitMediaService.createMediaReader(ImportCockpitInputMediaModel media)
Creates a media reader for the source file.
|
| Modifier and Type | Method and Description |
|---|---|
protected CSVReader |
DefaultImportCockpitMediaService.createCSVReader(ImportCockpitInputMediaModel media) |
CSVReader |
DefaultImportCockpitMediaService.createMediaReader(ImportCockpitInputMediaModel media) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.PrintWriter |
MarketplaceImpexTransformerTask.writeErrorLine(java.io.File file,
CSVReader csvReader,
java.io.PrintWriter errorWriter,
java.lang.IllegalArgumentException exc)
Also add the error log in log directory
|
| Modifier and Type | Class and Description |
|---|---|
class |
CSVFromPropertiesReader |
class |
FixedLengthCSVReader
This class extends the
CSVReader and parses a CSV InputStream to a list of maps using fixed lengths for the
columns. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.Integer,java.lang.String>[] |
CSVReader.parse(CSVReader reader)
Convenience method which parses csv lines directly from the given reader.
|
Copyright © 2018 SAP SE. All Rights Reserved.