BreakIterator.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_text_BreakIterator__
  3. #define __java_text_BreakIterator__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace text
  12. {
  13. class BreakIterator;
  14. class CharacterIterator;
  15. }
  16. }
  17. }
  18. class java::text::BreakIterator : public ::java::lang::Object
  19. {
  20. public: // actually protected
  21. BreakIterator();
  22. public:
  23. virtual ::java::lang::Object * clone();
  24. virtual jint current() = 0;
  25. virtual jint first() = 0;
  26. virtual jint following(jint) = 0;
  27. static JArray< ::java::util::Locale * > * getAvailableLocales();
  28. private:
  29. static ::java::text::BreakIterator * getInstance(::java::lang::String *, ::java::util::Locale *);
  30. public:
  31. static ::java::text::BreakIterator * getCharacterInstance();
  32. static ::java::text::BreakIterator * getCharacterInstance(::java::util::Locale *);
  33. static ::java::text::BreakIterator * getLineInstance();
  34. static ::java::text::BreakIterator * getLineInstance(::java::util::Locale *);
  35. static ::java::text::BreakIterator * getSentenceInstance();
  36. static ::java::text::BreakIterator * getSentenceInstance(::java::util::Locale *);
  37. virtual ::java::text::CharacterIterator * getText() = 0;
  38. static ::java::text::BreakIterator * getWordInstance();
  39. static ::java::text::BreakIterator * getWordInstance(::java::util::Locale *);
  40. virtual jboolean isBoundary(jint);
  41. virtual jint last() = 0;
  42. virtual jint next() = 0;
  43. virtual jint next(jint) = 0;
  44. virtual jint preceding(jint);
  45. virtual jint previous() = 0;
  46. virtual void setText(::java::lang::String *);
  47. virtual void setText(::java::text::CharacterIterator *) = 0;
  48. static const jint DONE = -1;
  49. static ::java::lang::Class class$;
  50. };
  51. #endif // __java_text_BreakIterator__