Class GirrImporter
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.GirrImporter
- All Implemented Interfaces:
ICommandImporter,IFileImporter,IImporter,IReaderImporter,IRemoteSetImporter
This class imports Girr files. Only Girr files having remotes as root element are presently supported.
-
Field Summary
FieldsFields inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
remoteSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[][]voidvoidload(InputStream inputStream, String origin) voidload(InputStream inputStream, String origin, String charsetName) voidvoidvoidsetValidate(boolean validate) Methods inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
getMetaData, getRemoteSet, hasCommands, setupCommands, setupRemote, setupRemoteSet, setupRemoteSetMethods inherited from class org.harctoolbox.irscrutinizer.importer.ReaderImporter
load, load, load, load, loadMethods inherited from class org.harctoolbox.irscrutinizer.importer.FileImporter
dumbLoad, getFileExtensions, ignored, load, loadFileSelector, possiblyZipLoadMethods 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, uniqueNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.harctoolbox.irscrutinizer.importer.ICommandImporter
getCommand, getCommands, getConcatenatedCommandsMethods inherited from interface org.harctoolbox.irscrutinizer.importer.IFileImporter
getFileExtensions, load, loadFileSelector, possiblyZipLoadMethods inherited from interface org.harctoolbox.irscrutinizer.importer.IReaderImporter
load, load, load, load
-
Field Details
-
homeUrl
- See Also:
-
-
Constructor Details
-
GirrImporter
-
-
Method Details
-
getSchema
- Returns:
- the schema
-
setUrl
- Parameters:
url- the url to set
-
setValidate
public void setValidate(boolean validate) -
load
public void load(InputStream inputStream, String origin, String charsetName) throws IOException, ParseException - Specified by:
loadin interfaceIReaderImporter- Overrides:
loadin classReaderImporter- Parameters:
inputStream-origin-charsetName- ignored; taken from input file encoding.- Throws:
IOExceptionParseException
-
load
- Throws:
IOExceptionParseException
-
load
- Specified by:
loadin interfaceIReaderImporter- Specified by:
loadin classReaderImporter- Parameters:
reader-origin-- Throws:
IOException- Generic IO error.ParseException- Generic parse error.
-
load
- Overrides:
loadin classReaderImporter- Parameters:
file-origin-charsetName- ignored, instead taken from file encoding field.- Throws:
IOException
-
canImportDirectories
public boolean canImportDirectories()- Specified by:
canImportDirectoriesin interfaceIFileImporter- Overrides:
canImportDirectoriesin classFileImporter
-
getFileExtensions
- Specified by:
getFileExtensionsin interfaceIFileImporter- Specified by:
getFileExtensionsin classFileImporter
-
getFormatName
- Specified by:
getFormatNamein interfaceIImporter- Returns:
- Name of the importer. May contain spaces and other "funny" characters. Should be one word, and not end with "Importer" or such.
-