summaryrefslogtreecommitdiff
path: root/libjava/java/util/Formatter.h
blob: 5d513ed786dbd96c712e7b13062a52641cb01050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_Formatter__
#define __java_util_Formatter__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace text
    {
        class DateFormatSymbols;
    }
  }
}

class java::util::Formatter : public ::java::lang::Object
{

public:
  Formatter();
  Formatter(::java::util::Locale *);
  Formatter(::java::lang::Appendable *);
  Formatter(::java::lang::Appendable *, ::java::util::Locale *);
  Formatter(::java::io::File *);
  Formatter(::java::io::File *, ::java::lang::String *);
  Formatter(::java::io::File *, ::java::lang::String *, ::java::util::Locale *);
  Formatter(::java::io::OutputStream *);
  Formatter(::java::io::OutputStream *, ::java::lang::String *);
  Formatter(::java::io::OutputStream *, ::java::lang::String *, ::java::util::Locale *);
  Formatter(::java::io::PrintStream *);
  Formatter(::java::lang::String *);
  Formatter(::java::lang::String *, ::java::lang::String *);
  Formatter(::java::lang::String *, ::java::lang::String *, ::java::util::Locale *);
  void close();
  void flush();
private:
  ::java::lang::String * getName(jint);
  void checkFlags(jint, jint, jchar);
  void noPrecision(jint);
  void applyLocalization(::java::lang::StringBuilder *, jint, jint, jboolean);
  void genericFormat(::java::lang::String *, jint, jint, jint);
  void booleanFormat(::java::lang::Object *, jint, jint, jint, jchar);
  void hashCodeFormat(::java::lang::Object *, jint, jint, jint, jchar);
  void stringFormat(::java::lang::Object *, jint, jint, jint, jchar);
  void characterFormat(::java::lang::Object *, jint, jint, jint, jchar);
  void percentFormat(jint, jint, jint);
  void newLineFormat(jint, jint, jint);
  ::java::lang::StringBuilder * basicIntegralConversion(::java::lang::Object *, jint, jint, jint, jint, jchar);
  void hexOrOctalConversion(::java::lang::Object *, jint, jint, jint, jint, jchar);
  void decimalConversion(::java::lang::Object *, jint, jint, jint, jchar);
  void singleDateTimeConversion(::java::lang::StringBuilder *, ::java::util::Calendar *, jchar, ::java::text::DateFormatSymbols *);
  void dateTimeConversion(::java::lang::Object *, jint, jint, jint, jchar, jchar);
  void advance();
  jint parseInt();
  jint parseArgumentIndex();
  jint parseFlags();
  jint parseWidth();
  jint parsePrecision();
public:
  ::java::util::Formatter * format(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
  ::java::util::Formatter * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
  ::java::io::IOException * ioException();
  ::java::util::Locale * locale();
  ::java::lang::Appendable * out();
  ::java::lang::String * toString();
private:
  ::java::lang::Appendable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) out__;
  ::java::util::Locale * locale__;
  jboolean closed;
  ::java::io::IOException * ioException__;
  ::java::lang::String * format__;
  jint index;
  jint length;
  ::java::util::Locale * fmtLocale;
  static ::java::lang::String * FLAGS;
  static ::java::lang::String * lineSeparator;
public: // actually package-private
  static jboolean $assertionsDisabled;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_Formatter__