KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > dbforms > util > IFormatEmbeddedData


1 /*
2  * $Header: /cvsroot/jdbforms/dbforms/src/org/dbforms/util/IFormatEmbeddedData.java,v 1.1 2004/10/12 15:49:46 hkollmann Exp $
3  * $Revision: 1.1 $
4  * $Date: 2004/10/12 15:49:46 $
5  *
6  * DbForms - a Rapid Application Development Framework
7  * Copyright (C) 2001 Joachim Peer <joepeer@excite.com>
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22  */

23
24 package org.dbforms.util;
25
26 import java.util.Locale JavaDoc;
27
28
29
30 /**
31  * Interface describing an formatter used in EmbeddedData
32  */

33 public interface IFormatEmbeddedData {
34    /**
35     * DOCUMENT ME!
36     *
37     * @param fmtArg DOCUMENT ME!
38     *
39     * @throws IllegalArgumentException DOCUMENT ME!
40     */

41    public void setFormat(String JavaDoc fmtArg) throws IllegalArgumentException JavaDoc;
42
43
44    /**
45     * DOCUMENT ME!
46     *
47     * @param locale DOCUMENT ME!
48     */

49    public void setLocale(Locale JavaDoc locale);
50
51
52    /**
53     * DOCUMENT ME!
54     *
55     * @return DOCUMENT ME!
56     */

57    public Locale JavaDoc getLocale();
58
59
60    /**
61     * DOCUMENT ME!
62     *
63     * @param o DOCUMENT ME!
64     *
65     * @return DOCUMENT ME!
66     */

67    public String JavaDoc sprintf(Object JavaDoc[] o);
68 }
69
Popular Tags