Class LircImporter
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.LircImporter
- All Implemented Interfaces:
Serializable
,ICommandImporter
,IFileImporter
,IImporter
,IReaderImporter
,IRemoteSetImporter
This class is basically a wrapper around Jirc.
- See Also:
-
Field Summary
Fields inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
remoteSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
String[][]
void
void
load
(InputStream inputStream, String origin, String charsetName) void
void
If the argument can be parsed as an URL string, load from its content.void
setRejectLircCode
(boolean newRejectLircCode) 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
Methods inherited from class org.harctoolbox.irscrutinizer.importer.FileImporter
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
getFileExtensions, load, loadFileSelector, possiblyZipLoad
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IReaderImporter
load, load, load
-
Field Details
-
remotesUrl
- See Also:
-
homeUrl
- See Also:
-
-
Constructor Details
-
LircImporter
public LircImporter()
-
-
Method Details
-
setRejectLircCode
public void setRejectLircCode(boolean newRejectLircCode) -
load
- Specified by:
load
in interfaceIReaderImporter
- Overrides:
load
in classReaderImporter
- Throws:
IOException
-
load
Description copied from interface:IReaderImporter
If the argument can be parsed as an URL string, load from its content. Otherwise, consider it as a file name, and load its content.- Specified by:
load
in interfaceIReaderImporter
- Overrides:
load
in classReaderImporter
- Throws:
IOException
-
load
- Overrides:
load
in classReaderImporter
- Throws:
IOException
-
load
- Specified by:
load
in interfaceIReaderImporter
- Specified by:
load
in classReaderImporter
- Throws:
IOException
- Generic IO error.
-
canImportDirectories
public boolean canImportDirectories()- Specified by:
canImportDirectories
in interfaceIFileImporter
- Overrides:
canImportDirectories
in classFileImporter
-
getFileExtensions
- Specified by:
getFileExtensions
in interfaceIFileImporter
- Specified by:
getFileExtensions
in classFileImporter
-
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.
-