| java.lang.Object gnu.mapping.PropertySet gnu.mapping.Procedure gnu.mapping.ProcedureN gnu.kawa.functions.Format gnu.text.ReportFormat gnu.kawa.functions.ObjectFormat
Field Summary | |
int | maxChars Maxiumum number of characters to show.
Truncate any following characters.
The value PARAM_UNSPECIFIED means "no limit". | boolean | readable |
Method Summary | |
public int | format(Object[] args, int start, Writer dst, FieldPosition fpos) | public static boolean | format(Object arg, Writer dst, int maxChars, boolean readable) Return false iff truncation. | public static int | format(Object[] args, int start, Writer dst, int maxChars, boolean readable) | public static ObjectFormat | getInstance(boolean readable) | public Object | parseObject(String text, java.text.ParsePosition status) |
maxChars | int maxChars(Code) | | Maxiumum number of characters to show.
Truncate any following characters.
The value PARAM_UNSPECIFIED means "no limit".
|
readable | boolean readable(Code) | | |
ObjectFormat | public ObjectFormat(boolean readable)(Code) | | |
ObjectFormat | public ObjectFormat(boolean readable, int maxChars)(Code) | | |
format | public static boolean format(Object arg, Writer dst, int maxChars, boolean readable) throws java.io.IOException(Code) | | Return false iff truncation.
Parameters: maxChars - maximum number of characters; -1 means unlimited |
Methods inherited from gnu.text.ReportFormat | abstract public int format(Object[] args, int start, Writer dst, FieldPosition fpos) throws java.io.IOException(Code)(Java Doc) public int format(Object arg, int start, Writer dst, FieldPosition fpos) throws java.io.IOException(Code)(Java Doc) public StringBuffer format(Object obj, StringBuffer sbuf, FieldPosition fpos)(Code)(Java Doc) public int format(Object[] args, int start, StringBuffer sbuf, FieldPosition fpos)(Code)(Java Doc) public static int format(Format fmt, Object[] args, int start, Writer dst, FieldPosition fpos) throws java.io.IOException(Code)(Java Doc) public static int format(Format fmt, Object[] args, int start, StringBuffer sbuf, FieldPosition fpos)(Code)(Java Doc) public static int getParam(Object arg, int defaultValue)(Code)(Java Doc) protected static int getParam(int param, int defaultValue, Object[] args, int start)(Code)(Java Doc) protected static char getParam(int param, char defaultValue, Object[] args, int start)(Code)(Java Doc) public static int nextArg(int result)(Code)(Java Doc) public Object parseObject(String text, java.text.ParsePosition status)(Code)(Java Doc) public static void print(Writer dst, String str) throws java.io.IOException(Code)(Java Doc) public static void print(Object value, Consumer out)(Code)(Java Doc) public static int result(int resultCode, int nextArg)(Code)(Java Doc) public static int resultCode(int result)(Code)(Java Doc)
|
Methods inherited from gnu.mapping.Procedure | public void apply(CallContext ctx) throws Throwable(Code)(Java Doc) public static void apply(Procedure proc, CallContext ctx) throws Throwable(Code)(Java Doc) abstract public Object apply0() throws Throwable(Code)(Java Doc) abstract public Object apply1(Object arg1) throws Throwable(Code)(Java Doc) abstract public Object apply2(Object arg1, Object arg2) throws Throwable(Code)(Java Doc) abstract public Object apply3(Object arg1, Object arg2, Object arg3) throws Throwable(Code)(Java Doc) abstract public Object apply4(Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable(Code)(Java Doc) abstract public Object applyN(Object[] args) throws Throwable(Code)(Java Doc) public void check0(CallContext ctx)(Code)(Java Doc) public void check1(Object arg1, CallContext ctx)(Code)(Java Doc) public void check2(Object arg1, Object arg2, CallContext ctx)(Code)(Java Doc) public void check3(Object arg1, Object arg2, Object arg3, CallContext ctx)(Code)(Java Doc) public void check4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)(Code)(Java Doc) public static void checkArgCount(Procedure proc, int argCount)(Code)(Java Doc) public void checkN(Object[] args, CallContext ctx)(Code)(Java Doc) public Procedure getSetter()(Code)(Java Doc) public String getSourceLocation()(Code)(Java Doc) public int match0(CallContext ctx)(Code)(Java Doc) public int match1(Object arg1, CallContext ctx)(Code)(Java Doc) public int match2(Object arg1, Object arg2, CallContext ctx)(Code)(Java Doc) public int match3(Object arg1, Object arg2, Object arg3, CallContext ctx)(Code)(Java Doc) public int match4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)(Code)(Java Doc) public int matchN(Object[] args, CallContext ctx)(Code)(Java Doc) final public int maxArgs()(Code)(Java Doc) final public int minArgs()(Code)(Java Doc) public int numArgs()(Code)(Java Doc) public void set0(Object result) throws Throwable(Code)(Java Doc) public void set1(Object arg1, Object value) throws Throwable(Code)(Java Doc) public void setN(Object[] args) throws Throwable(Code)(Java Doc) public void setSetter(Procedure setter)(Code)(Java Doc) public void setSourceLocation(String file, int line)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|