org.harctoolbox.irscrutinizer.importer
Class RmduImporter

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.importer.Importer
      extended by org.harctoolbox.irscrutinizer.importer.FileImporter
          extended by org.harctoolbox.irscrutinizer.importer.ReaderImporter
              extended by org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
                  extended by org.harctoolbox.irscrutinizer.importer.RmduImporter
All Implemented Interfaces:
java.io.Serializable, ICommandImporter, IFileImporter, IImporter, IReaderImporter, IRemoteSetImporter

public class RmduImporter
extends RemoteSetImporter
implements java.io.Serializable, IReaderImporter

This class is a simple-minded importer of RMDU files.

See Also:
Serialized Form

Field Summary
static java.lang.String homeUrl
           
 
Fields inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
remoteSet
 
Fields inherited from class org.harctoolbox.irscrutinizer.importer.Importer
creatingUser, fallbackFrequency, generateCcf, generateRaw, invokeDecodeIr, origin
 
Constructor Summary
RmduImporter()
           
RmduImporter(ProtocolsIni protocolsIni)
           
 
Method Summary
 java.lang.String[][] getFileExtensions()
           
 java.lang.String getFormatName()
           
 java.util.HashMap<java.lang.String,java.lang.String> getParameters()
           
 org.harctoolbox.girr.Remote getRemote()
           
 void load(java.io.Reader reader, java.lang.String origin)
           
static void main(java.lang.String[] args)
           
 void setProtocolsIni(ProtocolsIni protocolsIni)
           
 
Methods inherited from class org.harctoolbox.irscrutinizer.importer.RemoteSetImporter
getRemoteSet, 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, loadFileSelector
 
Methods inherited from class org.harctoolbox.irscrutinizer.importer.Importer
addCommand, addCommands, clearCommands, getCommand, getCommandIndex, getCommands, getConcatenatedCommands, getHomeUrl, getOrigin, prepareLoad, setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr
 
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.IReaderImporter
load, load, load, load
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IFileImporter
canImportDirectories, load, loadFileSelector
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.ICommandImporter
getCommand, getCommands, getConcatenatedCommands
 
Methods inherited from interface org.harctoolbox.irscrutinizer.importer.IImporter
setCreatingUser, setFallbackFrequency, setGenerateCcf, setGenerateRaw, setInvokeDecodeIr
 

Field Detail

homeUrl

public static final java.lang.String homeUrl
See Also:
Constant Field Values
Constructor Detail

RmduImporter

public RmduImporter()

RmduImporter

public RmduImporter(ProtocolsIni protocolsIni)
Parameters:
protocolsIni -
Method Detail

setProtocolsIni

public void setProtocolsIni(ProtocolsIni protocolsIni)
Parameters:
protocolsIni - the protocolsIni to set

getParameters

public java.util.HashMap<java.lang.String,java.lang.String> getParameters()
Returns:
the parameters

getFileExtensions

public java.lang.String[][] getFileExtensions()
Specified by:
getFileExtensions in interface IFileImporter
Specified by:
getFileExtensions in class FileImporter

getRemote

public org.harctoolbox.girr.Remote getRemote()

load

public void load(java.io.Reader reader,
                 java.lang.String origin)
          throws java.io.IOException,
                 java.text.ParseException
Specified by:
load in interface IReaderImporter
Specified by:
load in class ReaderImporter
Throws:
java.io.IOException - Generic IO error.
java.text.ParseException - Generic parse error.

getFormatName

public java.lang.String getFormatName()
Specified by:
getFormatName in interface IImporter
Returns:
Name of the importer. May contain spaces and other "funny" characters. Should be one word, and not end with "Importer" or such.

main

public static void main(java.lang.String[] args)
Parameters:
args -