-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathFileDescriptor.swift
More file actions
37 lines (32 loc) · 908 Bytes
/
FileDescriptor.swift
File metadata and controls
37 lines (32 loc) · 908 Bytes
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
// Auto-generated by Java-to-Swift wrapper generator.
import SwiftJava
import SwiftJavaJNICore
@JavaClass("java.io.FileDescriptor")
open class FileDescriptor: JavaObject {
@JavaMethod
@_nonoverride public convenience init(environment: JNIEnvironment? = nil)
/// Java method `sync`.
///
/// ### Java method signature
/// ```java
/// public void java.io.FileDescriptor.sync() throws java.io.SyncFailedException
/// ```
@JavaMethod
open func sync() throws
/// Java method `valid`.
///
/// ### Java method signature
/// ```java
/// public boolean java.io.FileDescriptor.valid()
/// ```
@JavaMethod
open func valid() -> Bool
}
extension JavaClass<FileDescriptor> {
@JavaStaticField(isFinal: true)
public var `in`: FileDescriptor!
@JavaStaticField(isFinal: true)
public var out: FileDescriptor!
@JavaStaticField(isFinal: true)
public var err: FileDescriptor!
}