org.harctoolbox.irscrutinizer.importer
Class RmduImporter
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.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
|
| 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 |
homeUrl
public static final java.lang.String homeUrl
- See Also:
- Constant Field Values
RmduImporter
public RmduImporter()
RmduImporter
public RmduImporter(ProtocolsIni protocolsIni)
- Parameters:
protocolsIni -
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 -