public class CsvRawImporter extends CsvImporter
invalid, lineNo, nameColumn, nameMultiColumn, separator
remoteSet
Constructor and Description |
---|
CsvRawImporter(int separatorIndex,
int nameColumn,
boolean nameMultiColumn,
int codeColumn,
boolean includeTail) |
CsvRawImporter(String separator,
int nameColumn,
boolean nameMultiColumn,
int codeColumn,
boolean includeTail) |
Modifier and Type | Method and Description |
---|---|
void |
load(File file,
String origin,
String charsetName) |
void |
load(Reader reader,
String origin) |
static void |
main(String[] args) |
static Collection<Command> |
process(File file,
String separator,
int nameColumn,
boolean nameMultiColumn,
int codeColumn,
boolean includeTail,
boolean invokeAnalyzer,
boolean invokeRepeatFinder,
boolean verbose,
String charsetName) |
void |
setCodeColumn(int codeColumn) |
void |
setIncludeTail(boolean includeTail) |
canImportDirectories, getFileExtensions, getFormatName, getSeparator, gobbleString, gobbleString, isNameMultiColumn, join, separatorsArray, setNameColumn, setNameMultiColumn, setSeparator, setSeparatorIndex
getRemoteSet, setupCommands, setupRemote, setupRemoteSet, setupRemoteSet
load, load, load, load, load
dumbLoad, getFileExtensions, load, loadFileSelector, possiblyZipLoad
addCommand, addCommands, clearCommands, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getCreatingUser, getEndTimeout, getFallbackFrequency, getHomeUrl, getOrigin, isGenerateCcf, isGenerateRaw, isInvokeAnalyzer, isInvokeDecodeIr, isInvokeRepeatFinder, isVerbose, prepareLoad, setProperties, uniqueName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load, load, load, load, load
getFileExtensions, load, loadFileSelector, possiblyZipLoad
getCommand, getCommands, getConcatenatedCommands
public CsvRawImporter(int separatorIndex, int nameColumn, boolean nameMultiColumn, int codeColumn, boolean includeTail)
public CsvRawImporter(String separator, int nameColumn, boolean nameMultiColumn, int codeColumn, boolean includeTail)
public static Collection<Command> process(File file, String separator, int nameColumn, boolean nameMultiColumn, int codeColumn, boolean includeTail, boolean invokeAnalyzer, boolean invokeRepeatFinder, boolean verbose, String charsetName) throws IOException, ParseException, IrpMasterException
public static void main(String[] args)
public void setCodeColumn(int codeColumn)
codeColumn
- the codeColumn to setpublic void setIncludeTail(boolean includeTail)
includeTail
- the includeTail to setpublic void load(File file, String origin, String charsetName) throws IOException, ParseException
load
in class ReaderImporter
IOException
ParseException
public void load(Reader reader, String origin) throws IOException
load
in interface IReaderImporter
load
in class ReaderImporter
IOException
- Generic IO error.Copyright © 2016. All rights reserved.