|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.text.Format
de.intarsys.tools.format.NullableFormat
public class NullableFormat
This format allows a daisy chain style null filtering.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.text.Format |
|---|
Format.Field |
| Constructor Summary | |
|---|---|
NullableFormat(Format format,
String nullValue)
|
|
| Method Summary | |
|---|---|
StringBuffer |
format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
|
Format |
getFormat()
|
String |
getNullValue()
|
Object |
parseObject(String source,
ParsePosition pos)
|
| Methods inherited from class java.text.Format |
|---|
clone, format, formatToCharacterIterator, parseObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullableFormat(Format format,
String nullValue)
| Method Detail |
|---|
public StringBuffer format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
format in class Formatpublic Format getFormat()
public String getNullValue()
public Object parseObject(String source,
ParsePosition pos)
parseObject in class Format
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||