-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathInputStreamReader.swift
More file actions
60 lines (52 loc) · 1.69 KB
/
InputStreamReader.swift
File metadata and controls
60 lines (52 loc) · 1.69 KB
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
// Auto-generated by Java-to-Swift wrapper generator.
import SwiftJava
import SwiftJavaJNICore
@JavaClass("java.io.InputStreamReader")
open class InputStreamReader: Reader {
@JavaMethod
@_nonoverride public convenience init(_ arg0: InputStream?, _ arg1: Charset?, environment: JNIEnvironment? = nil)
@JavaMethod
@_nonoverride public convenience init(_ arg0: InputStream?, _ arg1: String, environment: JNIEnvironment? = nil) throws
@JavaMethod
@_nonoverride public convenience init(_ arg0: InputStream?, environment: JNIEnvironment? = nil)
/// Java method `ready`.
///
/// ### Java method signature
/// ```java
/// public boolean java.io.InputStreamReader.ready() throws java.io.IOException
/// ```
@JavaMethod
open override func ready() throws -> Bool
/// Java method `close`.
///
/// ### Java method signature
/// ```java
/// public void java.io.InputStreamReader.close() throws java.io.IOException
/// ```
@JavaMethod
open override func close() throws
/// Java method `read`.
///
/// ### Java method signature
/// ```java
/// public int java.io.InputStreamReader.read(char[],int,int) throws java.io.IOException
/// ```
@JavaMethod
open override func read(_ arg0: [UInt16], _ arg1: Int32, _ arg2: Int32) throws -> Int32
/// Java method `read`.
///
/// ### Java method signature
/// ```java
/// public int java.io.InputStreamReader.read() throws java.io.IOException
/// ```
@JavaMethod
open override func read() throws -> Int32
/// Java method `getEncoding`.
///
/// ### Java method signature
/// ```java
/// public java.lang.String java.io.InputStreamReader.getEncoding()
/// ```
@JavaMethod
open func getEncoding() -> String
}