Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / util / regex / Pattern.h
blob7bfc275e55f36a29bcc4441ef292b4413f226e0d
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_regex_Pattern__
5 #define __java_util_regex_Pattern__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace java
18 namespace util
20 namespace regex
22 class RE;
29 class java::util::regex::Pattern : public ::java::lang::Object
32 Pattern(::java::lang::String *, jint);
33 public: // actually package-private
34 ::gnu::java::util::regex::RE * getRE();
35 public:
36 static ::java::util::regex::Pattern * compile(::java::lang::String *);
37 static ::java::util::regex::Pattern * compile(::java::lang::String *, jint);
38 jint flags();
39 static jboolean matches(::java::lang::String *, ::java::lang::CharSequence *);
40 ::java::util::regex::Matcher * matcher(::java::lang::CharSequence *);
41 JArray< ::java::lang::String * > * split(::java::lang::CharSequence *);
42 JArray< ::java::lang::String * > * split(::java::lang::CharSequence *, jint);
43 ::java::lang::String * pattern();
44 private:
45 static const jlong serialVersionUID = 5073258162644648461LL;
46 public:
47 static const jint CANON_EQ = 128;
48 static const jint CASE_INSENSITIVE = 2;
49 static const jint COMMENTS = 4;
50 static const jint DOTALL = 32;
51 static const jint MULTILINE = 8;
52 static const jint UNICODE_CASE = 64;
53 static const jint UNIX_LINES = 1;
54 private:
55 ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) regex;
56 jint flags__;
57 ::gnu::java::util::regex::RE * re;
58 public:
59 static ::java::lang::Class class$;
62 #endif // __java_util_regex_Pattern__