| java.lang.Object com.ibm.icu.dev.test.util.BagFormatter
BagFormatter | public class BagFormatter (Code) | | |
Inner Class :abstract public static class Relation | |
Inner Class :static class NullRelation extends Relation | |
Inner Class :public static class NameLabel extends UnicodeLabel | |
Method Summary | |
public static void | addAll(UnicodeSet source, Collection target) | boolean | equalTo(Object a, Object b) | public String | getAbbreviatedName(String source, String pattern, String substitute) | public Transliterator | getFixName() | public int | getFullTotal() | public UnicodeLabel | getLabelSource(boolean visible) | public String | getLineSeparator() | public static PrintWriter | getLog() | public String | getName(int codePoint) | public String | getName(String separator, int start, int end) | public String | getName(String s) | public String | getName(int codePoint, boolean withCodePoint) | public String | getName(String s, boolean withCodePoint) | public UnicodeLabel | getNameSource() | public String | getPrefix() | public String | getPropName() | public UnicodeLabel | getRangeBreakSource() | public Relation | getRelation() | public String | getSeparator() | public Transliterator | getShowLiteral() | public String | getSuffix() | public Tabber | getTabber() | public UnicodeProperty.Factory | getUnicodePropertyFactory() | public UnicodeLabel | getValueSource() | public String | hex(String s) | public String | hex(String s, String separator) | public String | hex(int start, int end) | public boolean | isAbbreviated() | public boolean | isHexValue() | public boolean | isShowCount() | public boolean | isShowTotal() | public String | join(Object o) | public static BufferedReader | openReader(String dir, String filename, String encoding) | public static BufferedReader | openUTF8Reader(String dir, String filename) | public static PrintWriter | openUTF8Writer(String dir, String filename) | public static PrintWriter | openWriter(String dir, String filename, String encoding) | public BagFormatter | setAbbreviated(boolean b) | public void | setFixName(Transliterator fixName) | public BagFormatter | setFullTotal(int i) | public BagFormatter | setHexValue(boolean b) | public BagFormatter | setLabelSource(UnicodeLabel label) | public BagFormatter | setLineSeparator(String string) | public BagFormatter | setLog(PrintWriter writer) | public BagFormatter | setMergeRanges(boolean in) | public BagFormatter | setNameSource(UnicodeLabel label) | public BagFormatter | setPrefix(String string) | public BagFormatter | setPropName(String string) | public BagFormatter | setRangeBreakSource(UnicodeLabel label) | public BagFormatter | setRelation(Relation r) | public BagFormatter | setSeparator(String string) | public BagFormatter | setShowCount(boolean b) | public BagFormatter | setShowLiteral(Transliterator transliterator) | public BagFormatter | setShowSetAlso(boolean b) | public void | setShowTotal(boolean showTotal) | public BagFormatter | setSuffix(String string) | public void | setTabber(Tabber tabber) | public BagFormatter | setUnicodePropertyFactory(UnicodeProperty.Factory source) | public BagFormatter | setValueSource(UnicodeLabel label) | public BagFormatter | setValueSource(String label) | public String | showSetDifferences(String name1, UnicodeSet set1, String name2, UnicodeSet set2) | public String | showSetDifferences(String name1, Collection set1, String name2, Collection set2) | public void | showSetDifferences(PrintWriter pw, String name1, UnicodeSet set1, String name2, UnicodeSet set2) | public void | showSetDifferences(PrintWriter pw, String name1, UnicodeSet set1, String name2, UnicodeSet set2, int flags) | public void | showSetDifferences(PrintWriter pw, String name1, Collection set1, String name2, Collection set2) | public String | showSetNames(Object c) Returns a list of items in the collection, with each separated by the separator. | public void | showSetNames(PrintWriter output, Object c) Returns a list of items in the collection, with each separated by the separator. | public void | showSetNames(String filename, Object c) Returns a list of items in the collection, with each separated by the separator. |
DEBUG | final static boolean DEBUG(Code) | | |
SHOW_FILES | final public static boolean SHOW_FILES(Code) | | |
shortLabel | boolean shortLabel(Code) | | |
shortValue | boolean shortValue(Code) | | |
BagFormatter | public BagFormatter()(Code) | | |
getFullTotal | public int getFullTotal()(Code) | | the full total |
getLineSeparator | public String getLineSeparator()(Code) | | the line separator |
getName | public String getName(int codePoint, boolean withCodePoint)(Code) | | |
getNameSource | public UnicodeLabel getNameSource()(Code) | | the NameLable representing the source |
getPropName | public String getPropName()(Code) | | the property name |
getRangeBreakSource | public UnicodeLabel getRangeBreakSource()(Code) | | the UnicodeLabel representing the range break source |
getValueSource | public UnicodeLabel getValueSource()(Code) | | the UnicodeLabel representing the value |
isAbbreviated | public boolean isAbbreviated()(Code) | | |
isHexValue | public boolean isHexValue()(Code) | | true if this is a hexValue |
isShowCount | public boolean isShowCount()(Code) | | true if showCount is true |
isShowTotal | public boolean isShowTotal()(Code) | | |
setFixName | public void setFixName(Transliterator fixName)(Code) | | Parameters: fixName - The fixName to set. |
setFullTotal | public BagFormatter setFullTotal(int i)(Code) | | Parameters: i - set the full total this (for chaining) |
setHexValue | public BagFormatter setHexValue(boolean b)(Code) | | Parameters: b - this (for chaining) |
setShowCount | public BagFormatter setShowCount(boolean b)(Code) | | Parameters: b - true to show the count this (for chaining) |
setShowTotal | public void setShowTotal(boolean showTotal)(Code) | | |
showSetDifferences | public String showSetDifferences(String name1, UnicodeSet set1, String name2, UnicodeSet set2)(Code) | | Compare two UnicodeSets, and show the differences
Parameters: name1 - name of first set to be compared Parameters: set1 - first set Parameters: name2 - name of second set to be compared Parameters: set2 - second set formatted string |
showSetDifferences | public void showSetDifferences(PrintWriter pw, String name1, UnicodeSet set1, String name2, UnicodeSet set2, int flags)(Code) | | Compare two UnicodeSets, and show the differences
Parameters: name1 - name of first set to be compared Parameters: set1 - first set Parameters: name2 - name of second set to be compared Parameters: set2 - second set |
showSetNames | public String showSetNames(Object c)(Code) | | Returns a list of items in the collection, with each separated by the separator.
Each item must not be null; its toString() is called for a printable representation
Parameters: c - source collection a String representation of the list |
showSetNames | public void showSetNames(PrintWriter output, Object c)(Code) | | Returns a list of items in the collection, with each separated by the separator.
Each item must not be null; its toString() is called for a printable representation
Parameters: output - destination to which to write names Parameters: c - source collection |
showSetNames | public void showSetNames(String filename, Object c) throws IOException(Code) | | Returns a list of items in the collection, with each separated by the separator.
Each item must not be null; its toString() is called for a printable representation
Parameters: filename - destination to which to write names Parameters: c - source collection |
|
|