Class RemoteConfigurationInfo


  • public class RemoteConfigurationInfo
    extends java.lang.Object
    Check a text using a remote LanguageTool server via HTTP or HTTPS. Our public HTTPS API and its restrictions are documented in our wiki.
    Since:
    4.8
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int maxTextLength  
      private java.util.List<java.util.Map<java.lang.String,​java.lang.String>> rules  
      private java.util.Map<java.lang.String,​java.lang.Object> softwareInfo  
    • Constructor Summary

      Constructors 
      Constructor Description
      RemoteConfigurationInfo​(com.fasterxml.jackson.databind.ObjectMapper mapper, java.io.InputStream inputStream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMaxTextLength()  
      java.util.List<java.util.Map<java.lang.String,​java.lang.String>> getRemoteRules()  
      java.util.Map<java.lang.String,​java.lang.Object> getSoftwareInfo()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • softwareInfo

        private java.util.Map<java.lang.String,​java.lang.Object> softwareInfo
      • maxTextLength

        private int maxTextLength
      • rules

        private java.util.List<java.util.Map<java.lang.String,​java.lang.String>> rules
    • Constructor Detail

      • RemoteConfigurationInfo

        RemoteConfigurationInfo​(com.fasterxml.jackson.databind.ObjectMapper mapper,
                                java.io.InputStream inputStream)
                         throws javax.xml.stream.XMLStreamException,
                                java.io.IOException
        Throws:
        javax.xml.stream.XMLStreamException
        java.io.IOException
    • Method Detail

      • getSoftwareInfo

        public java.util.Map<java.lang.String,​java.lang.Object> getSoftwareInfo()
      • getMaxTextLength

        public int getMaxTextLength()
      • getRemoteRules

        public java.util.List<java.util.Map<java.lang.String,​java.lang.String>> getRemoteRules()