CRLFReader.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_xml_stream_CRLFReader__
  3. #define __gnu_xml_stream_CRLFReader__
  4. #pragma interface
  5. #include <java/io/Reader.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace xml
  12. {
  13. namespace stream
  14. {
  15. class CRLFReader;
  16. }
  17. }
  18. }
  19. }
  20. class gnu::xml::stream::CRLFReader : public ::java::io::Reader
  21. {
  22. public: // actually protected
  23. CRLFReader(::java::io::Reader *);
  24. public:
  25. virtual jint read();
  26. virtual jint read(JArray< jchar > *);
  27. virtual jint read(JArray< jchar > *, jint, jint);
  28. virtual jboolean markSupported();
  29. virtual void mark(jint);
  30. virtual void reset();
  31. virtual jlong skip(jlong);
  32. virtual void close();
  33. private:
  34. jint indexOfCRLF(JArray< jchar > *, jint, jint);
  35. public:
  36. static const jint CR = 13;
  37. static const jint LF = 10;
  38. private:
  39. jboolean __attribute__((aligned(__alignof__( ::java::io::Reader)))) doReset;
  40. public: // actually protected
  41. ::java::io::Reader * in;
  42. public:
  43. static ::java::lang::Class class$;
  44. };
  45. #endif // __gnu_xml_stream_CRLFReader__