public class TextFileInputUtils extends Object
Constructor and Description |
---|
TextFileInputUtils() |
Modifier and Type | Method and Description |
---|---|
static Object[] |
convertLineToRow(org.pentaho.di.core.logging.LogChannelInterface log,
TextFileLine textFileLine,
TextFileInputMeta info,
Object[] passThruFields,
int nrPassThruFields,
org.pentaho.di.core.row.RowMetaInterface outputRowMeta,
org.pentaho.di.core.row.RowMetaInterface convertRowMeta,
String fname,
long rowNr,
String delimiter,
String enclosure,
String escapeCharacter,
FileErrorHandler errorHandler,
BaseFileInputStepMeta.AdditionalOutputFields additionalOutputFields,
String shortFilename,
String path,
boolean hidden,
Date modificationDateTime,
String uri,
String rooturi,
String extension,
Long size) |
static String[] |
convertLineToStrings(org.pentaho.di.core.logging.LogChannelInterface log,
String line,
TextFileInputMeta inf,
String delimiter,
String enclosure,
String escapeCharacters) |
static String |
getLine(org.pentaho.di.core.logging.LogChannelInterface log,
InputStreamReader reader,
EncodingType encodingType,
int formatNr,
StringBuilder line) |
static String |
getLine(org.pentaho.di.core.logging.LogChannelInterface log,
InputStreamReader reader,
int formatNr,
StringBuilder line) |
static String[] |
guessStringsFromLine(org.pentaho.di.core.variables.VariableSpace space,
org.pentaho.di.core.logging.LogChannelInterface log,
String line,
TextFileInputMeta inf,
String delimiter,
String enclosure,
String escapeCharacter) |
public static final String[] guessStringsFromLine(org.pentaho.di.core.variables.VariableSpace space, org.pentaho.di.core.logging.LogChannelInterface log, String line, TextFileInputMeta inf, String delimiter, String enclosure, String escapeCharacter) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public static final String getLine(org.pentaho.di.core.logging.LogChannelInterface log, InputStreamReader reader, int formatNr, StringBuilder line) throws org.pentaho.di.core.exception.KettleFileException
org.pentaho.di.core.exception.KettleFileException
public static final String getLine(org.pentaho.di.core.logging.LogChannelInterface log, InputStreamReader reader, EncodingType encodingType, int formatNr, StringBuilder line) throws org.pentaho.di.core.exception.KettleFileException
org.pentaho.di.core.exception.KettleFileException
public static final Object[] convertLineToRow(org.pentaho.di.core.logging.LogChannelInterface log, TextFileLine textFileLine, TextFileInputMeta info, Object[] passThruFields, int nrPassThruFields, org.pentaho.di.core.row.RowMetaInterface outputRowMeta, org.pentaho.di.core.row.RowMetaInterface convertRowMeta, String fname, long rowNr, String delimiter, String enclosure, String escapeCharacter, FileErrorHandler errorHandler, BaseFileInputStepMeta.AdditionalOutputFields additionalOutputFields, String shortFilename, String path, boolean hidden, Date modificationDateTime, String uri, String rooturi, String extension, Long size) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public static final String[] convertLineToStrings(org.pentaho.di.core.logging.LogChannelInterface log, String line, TextFileInputMeta inf, String delimiter, String enclosure, String escapeCharacters) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException