Package org.apache.juneau.common.utils
Class AsciiSet.Builder
java.lang.Object
org.apache.juneau.common.utils.AsciiSet.Builder
- Enclosing class:
- AsciiSet
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Create a newAsciiSetobject with the contents of this builder.chars(char... chars) Adds a set of characters to this set.Adds a set of characters to this set.range(char start, char end) Adds a range of characters to this set.Shortcut for calling multiple ranges.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
rangeAdds a range of characters to this set.- Parameters:
- start- The start character.
- end- The end character.
- Returns:
- This object.
 
- 
rangesShortcut for calling multiple ranges.- Parameters:
- s- Strings of the form "A-Z" where A and Z represent the first and last characters in the range.
- Returns:
- This object.
 
- 
charsAdds a set of characters to this set.- Parameters:
- chars- The characters to keep in this store.
- Returns:
- This object.
 
- 
charsAdds a set of characters to this set.- Parameters:
- chars- The characters to keep in this store.
- Returns:
- This object.
 
- 
buildCreate a newAsciiSetobject with the contents of this builder.- Returns:
- A new {link AsciiSet} object.
 
 
-