Interface UploadService


public interface UploadService
A service that can upload files. Used to upload HTML publications to servers.
  • Method Details

    • getId

      String getId()
    • getName

      String getName()
      Returns the name of the service
    • getDescription

      String getDescription()
      Returns a description of the service
    • createProfile

      UploadProfile createProfile(String name, String description)
      Creates a new profile, ready for editing.
    • loadProfiles

      List<? extends UploadProfile> loadProfiles()
      Loads all profiles for this service.
    • getProfileEditor

      UploadProfileEditor getProfileEditor(UploadProfile profile)
      Shows a GUI for editing the given profile. Check the profile's isEditable prior to calling this method.
    • getValidationMessage

      UploadValidationMessage getValidationMessage(boolean alwaysOverwrite, UploadProfile profile)
      Returns a validation messages for this profile. Check the profile's isValid prior to calling this method.
    • isCompatible

      boolean isCompatible(UploadProfile profile) throws UploadProfileException
      Returns true if this service can use the given profile.
      Throws:
      UploadProfileException
    • getSmallIcon

      Icon getSmallIcon()
      Returns an icon that represents this service
    • getSmallIconSelected

      Icon getSmallIconSelected()
    • isCreatable

      default boolean isCreatable()