VariantState state = (VariantState) states.elementAt(i) ;
state.setCharsetQuality (1.0) ;
}
} else {
// The browser has given some preferences:
HttpAcceptCharset charsets[] = request.getAcceptCharset() ;
for (int i = 0 ; i < states.size() ; i++ ) {
VariantState state = (VariantState) states.elementAt(i) ;
// Get the most specific match for this variant:
ResourceReference rr = state.getResource();