public class TextFileInputUtils extends Object
| Constructor and Description |
|---|
TextFileInputUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
convertLineToRow(LogChannelInterface log,
TextFileLine textFileLine,
TextFileInputMeta info,
Object[] passThruFields,
int nrPassThruFields,
RowMetaInterface outputRowMeta,
RowMetaInterface convertRowMeta,
String fname,
long rowNr,
String delimiter,
String enclosure,
String escapeCharacter,
FileErrorHandler errorHandler,
BaseFileInputAdditionalField additionalOutputFields,
String shortFilename,
String path,
boolean hidden,
Date modificationDateTime,
String uri,
String rooturi,
String extension,
Long size) |
static String[] |
convertLineToStrings(LogChannelInterface log,
String line,
TextFileInputMeta inf,
String delimiter,
String enclosure,
String escapeCharacters) |
static String |
getLine(LogChannelInterface log,
InputStreamReader reader,
EncodingType encodingType,
int formatNr,
StringBuilder line) |
static String |
getLine(LogChannelInterface log,
InputStreamReader reader,
int formatNr,
StringBuilder line) |
static String[] |
guessStringsFromLine(VariableSpace space,
LogChannelInterface log,
String line,
TextFileInputMeta inf,
String delimiter,
String enclosure,
String escapeCharacter) |
public static final String[] guessStringsFromLine(VariableSpace space, LogChannelInterface log, String line, TextFileInputMeta inf, String delimiter, String enclosure, String escapeCharacter) throws KettleException
KettleExceptionpublic static final String getLine(LogChannelInterface log, InputStreamReader reader, int formatNr, StringBuilder line) throws KettleFileException
KettleFileExceptionpublic static final String getLine(LogChannelInterface log, InputStreamReader reader, EncodingType encodingType, int formatNr, StringBuilder line) throws KettleFileException
KettleFileExceptionpublic static final Object[] convertLineToRow(LogChannelInterface log, TextFileLine textFileLine, TextFileInputMeta info, Object[] passThruFields, int nrPassThruFields, RowMetaInterface outputRowMeta, RowMetaInterface convertRowMeta, String fname, long rowNr, String delimiter, String enclosure, String escapeCharacter, FileErrorHandler errorHandler, BaseFileInputAdditionalField additionalOutputFields, String shortFilename, String path, boolean hidden, Date modificationDateTime, String uri, String rooturi, String extension, Long size) throws KettleException
KettleExceptionpublic static final String[] convertLineToStrings(LogChannelInterface log, String line, TextFileInputMeta inf, String delimiter, String enclosure, String escapeCharacters) throws KettleException
KettleExceptionCopyright © 2018 Hitachi Vantara. All rights reserved.