FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java_util/Sources/FileHandler.swift at 1.0.10 · SwiftJava/java_util · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
SwiftJava
/
java_util
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
7
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java_util
/
Sources
/
FileHandler.swift
Copy path
More file actions
More file actions
Latest commit
History
History
History
186 lines (128 loc) · 8.18 KB
Breadcrumbs
java_util
/
Sources
/
FileHandler.swift
Copy path
File metadata and controls
186 lines (128 loc) · 8.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
import
java_swift
import
java_lang
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// JAVA_HOME: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home ///
/// Tue Dec 20 11:29:53 GMT 2016 ///
/// class java.util.logging.FileHandler ///
open
class
FileHandler
:
StreamHandler
{
public
convenience
init
?
(
casting object
:
java_lang
.
JavaObject
,
_ file
:
StaticString
=
#file
,
_ line
:
Int
=
#line
)
{
self
.
init
(
javaObject
:
nil
)
if
!object
.
validDownCast
(
toJavaClass
:
"
java.util.logging.FileHandler
"
,
file
,
line
)
{
return
nil
}
object
.
withJavaObject
{
self
.
javaObject
=
$0
}
}
private
static
var
FileHandlerJNIClass
:
jclass
?
/// private java.util.logging.FileHandler$MeteredStream java.util.logging.FileHandler.meter
/// private boolean java.util.logging.FileHandler.append
/// private int java.util.logging.FileHandler.limit
/// private int java.util.logging.FileHandler.count
/// private java.lang.String java.util.logging.FileHandler.pattern
/// private java.lang.String java.util.logging.FileHandler.lockFileName
/// private java.io.FileOutputStream java.util.logging.FileHandler.lockStream
/// private java.io.File[] java.util.logging.FileHandler.files
/// private static final int java.util.logging.FileHandler.MAX_LOCKS
/// private static java.util.HashMap java.util.logging.FileHandler.locks
/// private java.util.logging.LogManager java.util.logging.StreamHandler.manager
/// private java.io.OutputStream java.util.logging.StreamHandler.output
/// private boolean java.util.logging.StreamHandler.doneHeader
/// private java.io.Writer java.util.logging.StreamHandler.writer
/// private static final int java.util.logging.Handler.offValue
/// private java.util.logging.LogManager java.util.logging.Handler.manager
/// private java.util.logging.Filter java.util.logging.Handler.filter
/// private java.util.logging.Formatter java.util.logging.Handler.formatter
/// private java.util.logging.Level java.util.logging.Handler.logLevel
/// private java.util.logging.ErrorManager java.util.logging.Handler.errorManager
/// private java.lang.String java.util.logging.Handler.encoding
/// boolean java.util.logging.Handler.sealed
/// public java.util.logging.FileHandler(java.lang.String,int,int,boolean) throws java.io.IOException,java.lang.SecurityException
private
static
var
new_MethodID_1
:
jmethodID
?
public
convenience
init
(
arg0
:
String
?
,
arg1
:
Int
,
arg2
:
Int
,
arg3
:
Bool
)
throws
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
4
)
var
__locals
=
[
jobject
]
(
)
__args
[
0
]
=
JNIType
.
encode
(
value
:
arg0
,
locals
:
&
__locals
)
__args
[
1
]
=
JNIType
.
encode
(
value
:
arg1
,
locals
:
&
__locals
)
__args
[
2
]
=
JNIType
.
encode
(
value
:
arg2
,
locals
:
&
__locals
)
__args
[
3
]
=
JNIType
.
encode
(
value
:
arg3
,
locals
:
&
__locals
)
let
__object
=
JNIMethod
.
NewObject
(
className
:
"
java/util/logging/FileHandler
"
,
classCache
:
&
FileHandler
.
FileHandlerJNIClass
,
methodSig
:
"
(Ljava/lang/String;IIZ)V
"
,
methodCache
:
&
FileHandler
.
new_MethodID_1
,
args
:
&
__args
,
locals
:
&
__locals
)
if
let
throwable
=
JNI
.
ExceptionCheck
(
)
{
throw
/* java.io.IOException */
UnclassedObject
(
javaObject
:
throwable
)
}
self
.
init
(
javaObject
:
__object
)
JNI
.
DeleteLocalRef
(
__object
)
}
public
convenience
init
(
_ _arg0
:
String
?
,
_ _arg1
:
Int
,
_ _arg2
:
Int
,
_ _arg3
:
Bool
)
throws
{
try
self
.
init
(
arg0
:
_arg0
,
arg1
:
_arg1
,
arg2
:
_arg2
,
arg3
:
_arg3
)
}
/// public java.util.logging.FileHandler(java.lang.String) throws java.io.IOException,java.lang.SecurityException
private
static
var
new_MethodID_2
:
jmethodID
?
public
convenience
init
(
arg0
:
String
?
)
throws
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
1
)
var
__locals
=
[
jobject
]
(
)
__args
[
0
]
=
JNIType
.
encode
(
value
:
arg0
,
locals
:
&
__locals
)
let
__object
=
JNIMethod
.
NewObject
(
className
:
"
java/util/logging/FileHandler
"
,
classCache
:
&
FileHandler
.
FileHandlerJNIClass
,
methodSig
:
"
(Ljava/lang/String;)V
"
,
methodCache
:
&
FileHandler
.
new_MethodID_2
,
args
:
&
__args
,
locals
:
&
__locals
)
if
let
throwable
=
JNI
.
ExceptionCheck
(
)
{
throw
/* java.io.IOException */
UnclassedObject
(
javaObject
:
throwable
)
}
self
.
init
(
javaObject
:
__object
)
JNI
.
DeleteLocalRef
(
__object
)
}
public
convenience
init
(
_ _arg0
:
String
?
)
throws
{
try
self
.
init
(
arg0
:
_arg0
)
}
/// public java.util.logging.FileHandler() throws java.io.IOException,java.lang.SecurityException
private
static
var
new_MethodID_3
:
jmethodID
?
public
convenience
init
(
)
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
1
)
var
__locals
=
[
jobject
]
(
)
let
__object
=
JNIMethod
.
NewObject
(
className
:
"
java/util/logging/FileHandler
"
,
classCache
:
&
FileHandler
.
FileHandlerJNIClass
,
methodSig
:
"
()V
"
,
methodCache
:
&
FileHandler
.
new_MethodID_3
,
args
:
&
__args
,
locals
:
&
__locals
)
self
.
init
(
javaObject
:
__object
)
JNI
.
DeleteLocalRef
(
__object
)
}
/// public java.util.logging.FileHandler(java.lang.String,boolean) throws java.io.IOException,java.lang.SecurityException
private
static
var
new_MethodID_4
:
jmethodID
?
public
convenience
init
(
arg0
:
String
?
,
arg1
:
Bool
)
throws
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
2
)
var
__locals
=
[
jobject
]
(
)
__args
[
0
]
=
JNIType
.
encode
(
value
:
arg0
,
locals
:
&
__locals
)
__args
[
1
]
=
JNIType
.
encode
(
value
:
arg1
,
locals
:
&
__locals
)
let
__object
=
JNIMethod
.
NewObject
(
className
:
"
java/util/logging/FileHandler
"
,
classCache
:
&
FileHandler
.
FileHandlerJNIClass
,
methodSig
:
"
(Ljava/lang/String;Z)V
"
,
methodCache
:
&
FileHandler
.
new_MethodID_4
,
args
:
&
__args
,
locals
:
&
__locals
)
if
let
throwable
=
JNI
.
ExceptionCheck
(
)
{
throw
/* java.io.IOException */
UnclassedObject
(
javaObject
:
throwable
)
}
self
.
init
(
javaObject
:
__object
)
JNI
.
DeleteLocalRef
(
__object
)
}
public
convenience
init
(
_ _arg0
:
String
?
,
_ _arg1
:
Bool
)
throws
{
try
self
.
init
(
arg0
:
_arg0
,
arg1
:
_arg1
)
}
/// public java.util.logging.FileHandler(java.lang.String,int,int) throws java.io.IOException,java.lang.SecurityException
private
static
var
new_MethodID_5
:
jmethodID
?
public
convenience
init
(
arg0
:
String
?
,
arg1
:
Int
,
arg2
:
Int
)
throws
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
3
)
var
__locals
=
[
jobject
]
(
)
__args
[
0
]
=
JNIType
.
encode
(
value
:
arg0
,
locals
:
&
__locals
)
__args
[
1
]
=
JNIType
.
encode
(
value
:
arg1
,
locals
:
&
__locals
)
__args
[
2
]
=
JNIType
.
encode
(
value
:
arg2
,
locals
:
&
__locals
)
let
__object
=
JNIMethod
.
NewObject
(
className
:
"
java/util/logging/FileHandler
"
,
classCache
:
&
FileHandler
.
FileHandlerJNIClass
,
methodSig
:
"
(Ljava/lang/String;II)V
"
,
methodCache
:
&
FileHandler
.
new_MethodID_5
,
args
:
&
__args
,
locals
:
&
__locals
)
if
let
throwable
=
JNI
.
ExceptionCheck
(
)
{
throw
/* java.io.IOException */
UnclassedObject
(
javaObject
:
throwable
)
}
self
.
init
(
javaObject
:
__object
)
JNI
.
DeleteLocalRef
(
__object
)
}
public
convenience
init
(
_ _arg0
:
String
?
,
_ _arg1
:
Int
,
_ _arg2
:
Int
)
throws
{
try
self
.
init
(
arg0
:
_arg0
,
arg1
:
_arg1
,
arg2
:
_arg2
)
}
/// static void java.util.logging.FileHandler.access$100(java.util.logging.FileHandler)
/// public synchronized void java.util.logging.FileHandler.close() throws java.lang.SecurityException
/// private synchronized void java.util.logging.FileHandler.rotate()
/// private void java.util.logging.FileHandler.open(java.io.File,boolean) throws java.io.IOException
/// private java.io.File java.util.logging.FileHandler.generate(java.lang.String,int,int) throws java.io.IOException
/// private void java.util.logging.FileHandler.configure()
/// public synchronized void java.util.logging.FileHandler.publish(java.util.logging.LogRecord)
/// private void java.util.logging.FileHandler.openFiles() throws java.io.IOException
/// private static native boolean java.util.logging.FileHandler.isSetUID()
}
Back
|
FazBrowse Home
|
New Git URL