forked from swiftlang/swift-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileDescriptor.swift
More file actions
41 lines (36 loc) · 923 Bytes
/
FileDescriptor.swift
File metadata and controls
41 lines (36 loc) · 923 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
38
39
40
41
// Auto-generated by Java-to-Swift wrapper generator.
import CSwiftJavaJNI
import SwiftJava
@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!
}