Class RemoteLocatorImporter

All Implemented Interfaces:
ICommandImporter, IImporter, IRemoteSetImporter

public final class RemoteLocatorImporter extends DatabaseImporter implements IRemoteSetImporter
  • Field Details

  • Constructor Details

    • RemoteLocatorImporter

      public RemoteLocatorImporter(boolean verbose) throws IOException
      Throws:
      IOException
  • Method Details

    • getHomeUri

      public static URI getHomeUri()
    • clear

      public void clear()
    • getManufacturers

      public String[] getManufacturers() throws IOException, SAXException
      Throws:
      IOException
      SAXException
    • getRemoteSet

      public org.harctoolbox.girr.RemoteSet getRemoteSet()
      Specified by:
      getRemoteSet in interface IRemoteSetImporter
    • isLoadable

      public boolean isLoadable()
    • getFormatName

      public 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.
    • getMetaData

      public org.harctoolbox.girr.Remote.MetaData getMetaData()
      Description copied from interface: ICommandImporter
      Returns MetaData in some sensible form.
      Specified by:
      getMetaData in interface ICommandImporter
      Returns:
      MetaData
    • getDeviceClasses

      public String[] getDeviceClasses(String manufacturer) throws org.harctoolbox.remotelocator.NotFoundException
      Throws:
      org.harctoolbox.remotelocator.NotFoundException
    • getRemotes

      public String[] getRemotes(String manufacturer, String deviceType) throws org.harctoolbox.remotelocator.NotFoundException
      Throws:
      org.harctoolbox.remotelocator.NotFoundException
    • load

      public void load(String manufacturer, String deviceType, String remoteName) throws org.harctoolbox.remotelocator.NotFoundException
      Throws:
      org.harctoolbox.remotelocator.NotFoundException
    • loadRemote

      public void loadRemote() throws IOException, org.harctoolbox.remotelocator.Girrable.NotGirrableException, org.harctoolbox.remotelocator.NotFoundException
      Throws:
      IOException
      org.harctoolbox.remotelocator.Girrable.NotGirrableException
      org.harctoolbox.remotelocator.NotFoundException
    • getRemoteURL

      public URL getRemoteURL()
    • getkind

      public String getkind()