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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
abstract String[][]
String[][]
getFileExtensions
(boolean zip) protected static final boolean
final void
abstract void
boolean
loadFileSelector
(Component component, String title, String defaultDir, String charsetName) void
possiblyZipLoad
(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:
IOException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
load
public final void load(File file, String charsetName) throws FileNotFoundException, IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
FileNotFoundException
IOException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
loadFileSelector
public boolean loadFileSelector(Component component, String title, String defaultDir, String charsetName) throws IOException, ParseException, FileNotFoundException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOException
ParseException
FileNotFoundException
org.harctoolbox.ircore.InvalidArgumentException
-
dumbLoad
protected void dumbLoad(Reader reader, String origin, String charsetName) throws FileNotFoundException, IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
FileNotFoundException
IOException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
possiblyZipLoad
public void possiblyZipLoad(File file, String charsetName) throws IOException, FileNotFoundException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOException
FileNotFoundException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
canImportDirectories
public boolean canImportDirectories() -
getFileExtensions
-
getFileExtensions
-