public class QuotedQualityCSV extends QuotedCSV implements Iterable<String>
| Modifier and Type | Field and Description |
|---|---|
static Function<String,Integer> |
MOST_SPECIFIC
Function to apply a most specific MIME encoding secondary ordering
|
_keepQuotes, _values| Constructor and Description |
|---|
QuotedQualityCSV()
Sorts values with equal quality according to the length of the value String.
|
QuotedQualityCSV(Function<String,Integer> secondaryOrdering)
Orders values with equal quality with the given function.
|
QuotedQualityCSV(String[] preferredOrder)
Sorts values with equal quality according to given order.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getValues() |
Iterator<String> |
iterator() |
protected void |
parsedParam(StringBuffer buffer,
int valueLength,
int paramName,
int paramValue)
Called when a parameter has been parsed
|
protected void |
parsedValue(StringBuffer buffer)
Called when a value has been parsed
|
protected void |
sort() |
addValue, isEmpty, size, toString, unquoteclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic QuotedQualityCSV()
public QuotedQualityCSV(String[] preferredOrder)
preferredOrder - Array indicating the preferred order of known valuesprotected void parsedValue(StringBuffer buffer)
QuotedCSVparsedValue in class QuotedCSVbuffer - Containing the trimmed value, which may be mutatedprotected void parsedParam(StringBuffer buffer, int valueLength, int paramName, int paramValue)
QuotedCSVparsedParam in class QuotedCSVbuffer - Containing the trimmed value and all parameters, which may be mutatedvalueLength - The length of the valueparamName - The index of the start of the parameter just parsedparamValue - The index of the start of the parameter value just parsed, or -1protected void sort()
Copyright © 1995–2017 Webtide. All rights reserved.