Class KioskExtractor<T extends InfoItem>

    • Method Detail

      • getId

        @Nonnull
        public java.lang.String getId()
        Overrides:
        getId in class Extractor
      • getName

        @Nonnull
        public abstract java.lang.String getName()
                                          throws ParsingException
        Id should be the name of the kiosk, tho Id is used for identifying it in the frontend, so id should be kept in english. In order to get the name of the kiosk in the desired language we have to crawl if from the website.
        Specified by:
        getName in class Extractor
        Returns:
        the translated version of id
        Throws:
        ParsingException - if the name cannot be extracted