public class FormCharSetFinder extends Object
| Constructor | Description |
|---|---|
FormCharSetFinder() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addFormActionsAndCharSet(String html,
Map<String,String> formEncodings,
String pageEncoding) |
Add form action urls and their corresponding encodings for all forms on the page
|
public void addFormActionsAndCharSet(String html, Map<String,String> formEncodings, String pageEncoding) throws HTMLParseException
html - the html to parse for form encodingsformEncodings - the Map where form encodings should be addedpageEncoding - the encoding used for the whole pageHTMLParseException - when parsing the html failsCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.