Interface ITransportHandler


  • public interface ITransportHandler
    Handles transport categories and their locations.
    • Method Detail

      • categories

        ITransportCategory[] categories()
        Returns all transport categories.
        Returns:
        an array of transport categories.
      • createCategory

        void createCategory​(String title)
        Creates a new transport category with the given title.
        Parameters:
        title - the category title.
      • getCategory

        ITransportCategory getCategory​(String title)
        Returns the transport category with the given title.
        Parameters:
        title - the category title.
        Returns:
        the category, or null if not found.
      • removeCategory

        void removeCategory​(String title)
        Removes the transport category with the given title.
        Parameters:
        title - the category title.