Class RemoteServer

java.lang.Object
org.languagetool.remote.RemoteServer

public class RemoteServer extends Object
Information about the remote server as returned by the server's XML response.
Since:
3.4
  • Field Details

    • software

      private final String software
    • version

      private final String version
    • buildDate

      private final String buildDate
  • Constructor Details

  • Method Details

    • getSoftware

      public String getSoftware()
      Returns:
      the software running on the server, usually LanguageTool
    • getVersion

      public String getVersion()
      Returns:
      the version running on the server, might be something like 3.4-SNAPSHOT or 3.4
    • getBuildDate

      public Optional<String> getBuildDate()
      Returns:
      the build date of the version or null (in case this isn't a real build but runs in an IDE etc.)
    • toString

      public String toString()
      Overrides:
      toString in class Object