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) |
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) |
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, getEndingTimeout, 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 void setCodeColumn(int codeColumn)
codeColumn
- the codeColumn to setpublic void setIncludeTail(boolean includeTail)
includeTail
- the includeTail to setpublic void load(File file, String origin) throws IOException, ParseException, IrpMasterException
load
in class ReaderImporter
IOException
ParseException
IrpMasterException
public void load(Reader reader, String origin) throws IOException
load
in interface IReaderImporter
load
in class ReaderImporter
IOException
- Generic IO error.public static Collection<Command> process(File file, String separator, int nameColumn, boolean nameMultiColumn, int codeColumn, boolean includeTail, boolean invokeAnalyzer, boolean invokeRepeatFinder, boolean verbose) throws IOException, ParseException, IrpMasterException
public static void main(String[] args)
Copyright © 2015. All rights reserved.