Class FileImporter
java.lang.Object
org.harctoolbox.irscrutinizer.importer.Importer
org.harctoolbox.irscrutinizer.importer.FileImporter
- Direct Known Subclasses:
ReaderImporter,WaveImporter
This class extends the Importer with file load functions.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidabstract String[][]String[][]getFileExtensions(boolean zip) protected static final booleanfinal voidabstract voidbooleanloadFileSelector(Component component, String title, String defaultDir, String charsetName) voidpossiblyZipLoad(File file, String charsetName) Methods inherited from class org.harctoolbox.irscrutinizer.importer.Importer
addCommand, addCommands, clearCommands, getAbsoluteTolerance, getChopThreshold, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getCreatingUser, getDummyGap, getEndingTimeout, getFallbackFrequency, getHomeUrl, getMinRepeatLastGap, getOrigin, getRelativeTolerance, isGenerateCcf, isGenerateRaw, isInvokeAnalyzer, isInvokeCleaner, isInvokeDecoder, isInvokeRepeatFinder, isVerbose, prepareLoad, setProperties, uniqueName
-
Constructor Details
-
FileImporter
protected FileImporter()
-
-
Method Details
-
ignored
-
load
public abstract void load(File file, String origin, String charsetName) throws IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOExceptionParseExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
load
public final void load(File file, String charsetName) throws FileNotFoundException, IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
FileNotFoundExceptionIOExceptionParseExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
loadFileSelector
public boolean loadFileSelector(Component component, String title, String defaultDir, String charsetName) throws IOException, ParseException, FileNotFoundException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOExceptionParseExceptionFileNotFoundExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
dumbLoad
protected void dumbLoad(Reader reader, String origin, String charsetName) throws FileNotFoundException, IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
FileNotFoundExceptionIOExceptionParseExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
possiblyZipLoad
public void possiblyZipLoad(File file, String charsetName) throws IOException, FileNotFoundException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOExceptionFileNotFoundExceptionParseExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
canImportDirectories
public boolean canImportDirectories() -
getFileExtensions
-
getFileExtensions
-