public class AttributesFormat extends Format
Modifier and Type | Class and Description |
---|---|
private static class |
AttributesFormat.Type |
Format.Field
Modifier and Type | Field and Description |
---|---|
private MessageFormat |
format |
private int[] |
index |
private String |
pattern |
private static long |
serialVersionUID |
private int[][] |
tagPaths |
private AttributesFormat.Type[] |
types |
Constructor and Description |
---|
AttributesFormat(String pattern) |
Modifier and Type | Method and Description |
---|---|
private MessageFormat |
buildMessageFormat(ArrayList<String> tokens) |
StringBuffer |
format(Object obj,
StringBuffer result,
FieldPosition pos) |
Object |
parseObject(String source,
ParsePosition pos) |
private Object[] |
toArgs(Attributes attrs) |
private ArrayList<String> |
tokenize(String s) |
String |
toString() |
static AttributesFormat |
valueOf(String s) |
clone, format, formatToCharacterIterator, parseObject
private static final long serialVersionUID
private final int[][] tagPaths
private final int[] index
private final AttributesFormat.Type[] types
private final MessageFormat format
public AttributesFormat(String pattern)
private MessageFormat buildMessageFormat(ArrayList<String> tokens)
public static AttributesFormat valueOf(String s)
public StringBuffer format(Object obj, StringBuffer result, FieldPosition pos)
private Object[] toArgs(Attributes attrs)
public Object parseObject(String source, ParsePosition pos)
parseObject
in class Format
Copyright © 2017 dcm4che.org. All rights reserved.