Class FormCharSetFinder

  • All Implemented Interfaces:

    
    public class FormCharSetFinder
    
                        

    A parser for html, to find the form tags, and their accept-charset value

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void addFormActionsAndCharSet(String html, Map<in String, in String> formEncodings, String pageEncoding) Add form action urls and their corresponding encodings for all forms on the page
      • Methods inherited from class java.lang.Object

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

      • FormCharSetFinder

        FormCharSetFinder()
    • Method Detail

      • addFormActionsAndCharSet

         void addFormActionsAndCharSet(String html, Map<in String, in String> formEncodings, String pageEncoding)

        Add form action urls and their corresponding encodings for all forms on the page

        Parameters:
        html - the html to parse for form encodings
        formEncodings - the Map where form encodings should be added
        pageEncoding - the encoding used for the whole page