summaryrefslogtreecommitdiff
path: root/libjava/java/text/BreakIterator.h
blob: 2c6f90ea18725123355c3eaaa524a9983d488354 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_text_BreakIterator__
#define __java_text_BreakIterator__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace text
    {
        class BreakIterator;
        class CharacterIterator;
    }
  }
}

class java::text::BreakIterator : public ::java::lang::Object
{

public: // actually protected
  BreakIterator();
public:
  virtual ::java::lang::Object * clone();
  virtual jint current() = 0;
  virtual jint first() = 0;
  virtual jint following(jint) = 0;
  static JArray< ::java::util::Locale * > * getAvailableLocales();
private:
  static ::java::text::BreakIterator * getInstance(::java::lang::String *, ::java::util::Locale *);
public:
  static ::java::text::BreakIterator * getCharacterInstance();
  static ::java::text::BreakIterator * getCharacterInstance(::java::util::Locale *);
  static ::java::text::BreakIterator * getLineInstance();
  static ::java::text::BreakIterator * getLineInstance(::java::util::Locale *);
  static ::java::text::BreakIterator * getSentenceInstance();
  static ::java::text::BreakIterator * getSentenceInstance(::java::util::Locale *);
  virtual ::java::text::CharacterIterator * getText() = 0;
  static ::java::text::BreakIterator * getWordInstance();
  static ::java::text::BreakIterator * getWordInstance(::java::util::Locale *);
  virtual jboolean isBoundary(jint);
  virtual jint last() = 0;
  virtual jint next() = 0;
  virtual jint next(jint) = 0;
  virtual jint preceding(jint);
  virtual jint previous() = 0;
  virtual void setText(::java::lang::String *);
  virtual void setText(::java::text::CharacterIterator *) = 0;
  static const jint DONE = -1;
  static ::java::lang::Class class$;
};

#endif // __java_text_BreakIterator__