Class CcfImporter
java.lang.Object
org.harctoolbox.irscrutinizer.importer.Importer
org.harctoolbox.irscrutinizer.importer.FileImporter
org.harctoolbox.irscrutinizer.importer.ReaderImporter
org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
org.harctoolbox.irscrutinizer.importer.CcfImporter
- All Implemented Interfaces:
ICommandImporter
,IFileImporter
,IImporter
,IRemoteSetImporter
Class for importing Pronto CCF files of the first generation.
-
Field Summary
Fields inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
remoteSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[][]
static org.harctoolbox.girr.RemoteSet
void
void
static void
void
setTranslateProntoFont
(boolean translateProntoFont) Methods inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
getMetaData, getRemoteSet, hasCommands, setupCommands, setupRemote, setupRemoteSet, setupRemoteSet
Methods inherited from class org.harctoolbox.irscrutinizer.importer.ReaderImporter
load, load, load, load, load
Methods inherited from class org.harctoolbox.irscrutinizer.importer.FileImporter
canImportDirectories, dumbLoad, getFileExtensions, ignored, load, loadFileSelector, possiblyZipLoad
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.ICommandImporter
getCommand, getCommands, getConcatenatedCommands
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IFileImporter
canImportDirectories, getFileExtensions, load, loadFileSelector, possiblyZipLoad
-
Constructor Details
-
CcfImporter
public CcfImporter()
-
-
Method Details
-
importCcf
public static org.harctoolbox.girr.RemoteSet importCcf(String filename, String creatingUser) throws IOException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Throws:
IOException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
main
-
setTranslateProntoFont
public void setTranslateProntoFont(boolean translateProntoFont) - Parameters:
translateProntoFont
- the translateProntoFont to set
-
getFileExtensions
- Specified by:
getFileExtensions
in interfaceIFileImporter
- Specified by:
getFileExtensions
in classFileImporter
-
load
public void load(Reader reader, String origin) throws IOException, FileNotFoundException, ParseException, org.harctoolbox.ircore.InvalidArgumentException - Specified by:
load
in classReaderImporter
- Throws:
IOException
FileNotFoundException
ParseException
org.harctoolbox.ircore.InvalidArgumentException
-
load
- Overrides:
load
in classReaderImporter
- Throws:
IOException
-
getFormatName
- Specified by:
getFormatName
in interfaceIImporter
- Returns:
- Name of the importer. May contain spaces and other "funny" characters. Should be one word, and not end with "Importer" or such.
-