Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / util / logging / FileHandler.h
blob16feec2b2c12c4995bb438c7dc7e9f8f11d0e2ad
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_logging_FileHandler__
5 #define __java_util_logging_FileHandler__
7 #pragma interface
9 #include <java/util/logging/StreamHandler.h>
11 class java::util::logging::FileHandler : public ::java::util::logging::StreamHandler
14 public:
15 FileHandler();
16 FileHandler(::java::lang::String *);
17 FileHandler(::java::lang::String *, jboolean);
18 FileHandler(::java::lang::String *, jint, jint);
19 FileHandler(::java::lang::String *, jint, jint, jboolean);
20 private:
21 ::java::io::OutputStream * createFileStream(::java::lang::String *, jint, jint, jboolean, jint);
22 static ::java::lang::String * replaceFileNameEscapes(::java::lang::String *, jint, jint, jint);
23 public:
24 virtual void publish(::java::util::logging::LogRecord *);
25 private:
26 void rotate();
27 static jboolean has(::java::lang::String *, jchar);
28 static ::java::lang::String * PROPERTY_PREFIX;
29 static ::java::lang::String * PATTERN_KEY;
30 static ::java::lang::String * DEFAULT_PATTERN;
31 static ::java::lang::String * LIMIT_KEY;
32 static const jint DEFAULT_LIMIT = 0;
33 static ::java::lang::String * COUNT_KEY;
34 static const jint DEFAULT_COUNT = 1;
35 static ::java::lang::String * APPEND_KEY;
36 static const jboolean DEFAULT_APPEND = 0;
37 jint __attribute__((aligned(__alignof__( ::java::util::logging::StreamHandler)))) limit;
38 jint count;
39 ::java::lang::String * pattern;
40 jboolean append;
41 public: // actually package-private
42 jlong written;
43 private:
44 ::java::util::LinkedList * logFiles;
45 public:
46 static ::java::lang::Class class$;
49 #endif // __java_util_logging_FileHandler__