java-api 17.25.0__py2-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- java/__init__.py +0 -0
- java/awt/__init__.py +265 -0
- java/awt/event/__init__.py +184 -0
- java/awt/geom/__init__.py +116 -0
- java/awt/image/__init__.py +14 -0
- java/awt/print/__init__.py +93 -0
- java/beans/__init__.py +38 -0
- java/io/__init__.py +442 -0
- java/lang/__init__.py +868 -0
- java/lang/reflect/__init__.py +9 -0
- java/math/__init__.py +93 -0
- java/net/__init__.py +504 -0
- java/net/http/__init__.py +15 -0
- java/nio/__init__.py +667 -0
- java/nio/channels/__init__.py +352 -0
- java/nio/charset/__init__.py +146 -0
- java/nio/file/__init__.py +728 -0
- java/nio/file/attribute/__init__.py +141 -0
- java/org/__init__.py +0 -0
- java/org/jdesktop/__init__.py +0 -0
- java/org/jdesktop/core/__init__.py +0 -0
- java/org/jdesktop/core/animation/__init__.py +0 -0
- java/org/jdesktop/core/animation/timing/__init__.py +17 -0
- java/security/__init__.py +27 -0
- java/text/__init__.py +543 -0
- java/time/__init__.py +575 -0
- java/time/chrono/__init__.py +319 -0
- java/time/format/__init__.py +72 -0
- java/time/temporal/__init__.py +353 -0
- java/util/__init__.py +1479 -0
- java/util/concurrent/__init__.py +147 -0
- java/util/function/__init__.py +131 -0
- java/util/regex/__init__.py +197 -0
- java/util/stream/__init__.py +128 -0
- java_api-17.25.0.dist-info/LICENSE +21 -0
- java_api-17.25.0.dist-info/METADATA +150 -0
- java_api-17.25.0.dist-info/RECORD +46 -0
- java_api-17.25.0.dist-info/WHEEL +5 -0
- java_api-17.25.0.dist-info/top_level.txt +2 -0
- javax/__init__.py +0 -0
- javax/security/__init__.py +0 -0
- javax/security/auth/__init__.py +14 -0
- javax/swing/__init__.py +483 -0
- javax/swing/event/__init__.py +43 -0
- javax/swing/plaf/__init__.py +28 -0
- javax/swing/text/__init__.py +19 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
__all__ = [
|
|
2
|
+
"AttributeView",
|
|
3
|
+
"BasicFileAttributes",
|
|
4
|
+
"FileAttribute",
|
|
5
|
+
"FileAttributeView",
|
|
6
|
+
"FileStoreAttributeView",
|
|
7
|
+
"FileTime",
|
|
8
|
+
"PosixFilePermission",
|
|
9
|
+
"UserPrincipal",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
from typing import Any, List, Union
|
|
13
|
+
|
|
14
|
+
from java.lang import Enum, Object
|
|
15
|
+
from java.security import Principal
|
|
16
|
+
from java.time import Instant
|
|
17
|
+
from java.util.concurrent import TimeUnit
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class AttributeView(object):
|
|
21
|
+
def name(self):
|
|
22
|
+
# type: () -> Union[str, unicode]
|
|
23
|
+
raise NotImplementedError
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class BasicFileAttributes(object):
|
|
27
|
+
def creationTime(self):
|
|
28
|
+
# type: () -> FileTime
|
|
29
|
+
raise NotImplementedError
|
|
30
|
+
|
|
31
|
+
def fileKey(self):
|
|
32
|
+
# type: () -> Object
|
|
33
|
+
raise NotImplementedError
|
|
34
|
+
|
|
35
|
+
def isDirectory(self):
|
|
36
|
+
# type: () -> bool
|
|
37
|
+
raise NotImplementedError
|
|
38
|
+
|
|
39
|
+
def isOther(self):
|
|
40
|
+
# type: () -> bool
|
|
41
|
+
raise NotImplementedError
|
|
42
|
+
|
|
43
|
+
def isRegularFile(self):
|
|
44
|
+
# type: () -> bool
|
|
45
|
+
raise NotImplementedError
|
|
46
|
+
|
|
47
|
+
def isSymbolicLink(self):
|
|
48
|
+
# type: () -> bool
|
|
49
|
+
raise NotImplementedError
|
|
50
|
+
|
|
51
|
+
def lastAccessTime(self):
|
|
52
|
+
# type: () -> FileTime
|
|
53
|
+
raise NotImplementedError
|
|
54
|
+
|
|
55
|
+
def lastModifiedTime(self):
|
|
56
|
+
# type: () -> FileTime
|
|
57
|
+
raise NotImplementedError
|
|
58
|
+
|
|
59
|
+
def size(self):
|
|
60
|
+
# type: () -> long
|
|
61
|
+
raise NotImplementedError
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class FileAttribute(object):
|
|
65
|
+
def name(self):
|
|
66
|
+
# type: () -> Union[str, unicode]
|
|
67
|
+
pass
|
|
68
|
+
|
|
69
|
+
def value(self):
|
|
70
|
+
# type: () -> Any
|
|
71
|
+
pass
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class FileAttributeView(AttributeView):
|
|
75
|
+
def name(self):
|
|
76
|
+
# type: () -> Union[str, unicode]
|
|
77
|
+
pass
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class FileTime(Object):
|
|
81
|
+
def compareTo(self, other):
|
|
82
|
+
# type: (FileTime) -> int
|
|
83
|
+
pass
|
|
84
|
+
|
|
85
|
+
@staticmethod
|
|
86
|
+
def fromMillis(value):
|
|
87
|
+
# type: (long) -> FileTime
|
|
88
|
+
pass
|
|
89
|
+
|
|
90
|
+
def to(self, unit):
|
|
91
|
+
# type: (TimeUnit) -> long
|
|
92
|
+
pass
|
|
93
|
+
|
|
94
|
+
def toInstant(self):
|
|
95
|
+
# type: () -> Instant
|
|
96
|
+
pass
|
|
97
|
+
|
|
98
|
+
def toMillis(self):
|
|
99
|
+
# type: () -> long
|
|
100
|
+
pass
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class PosixFilePermission(Enum):
|
|
104
|
+
GROUP_EXECUTE = None # type: PosixFilePermission
|
|
105
|
+
GROUP_READ = None # type: PosixFilePermission
|
|
106
|
+
GROUP_WRITE = None # type: PosixFilePermission
|
|
107
|
+
OTHERS_EXECUTE = None # type: PosixFilePermission
|
|
108
|
+
OTHERS_READ = None # type: PosixFilePermission
|
|
109
|
+
OTHERS_WRITE = None # type: PosixFilePermission
|
|
110
|
+
OWNER_EXECUTE = None # type: PosixFilePermission
|
|
111
|
+
OWNER_READ = None # type: PosixFilePermission
|
|
112
|
+
OWNER_WRITE = None # type: PosixFilePermission
|
|
113
|
+
|
|
114
|
+
@staticmethod
|
|
115
|
+
def values():
|
|
116
|
+
# type: () -> List[PosixFilePermission]
|
|
117
|
+
pass
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class UserPrincipal(Principal):
|
|
121
|
+
def equals(self, another):
|
|
122
|
+
# type: (Object) -> bool
|
|
123
|
+
return True
|
|
124
|
+
|
|
125
|
+
def getName(self):
|
|
126
|
+
# type: () -> Union[str, unicode]
|
|
127
|
+
pass
|
|
128
|
+
|
|
129
|
+
def hashCode(self):
|
|
130
|
+
# type: () -> int
|
|
131
|
+
pass
|
|
132
|
+
|
|
133
|
+
def toString(self):
|
|
134
|
+
# type: () -> Union[str, unicode]
|
|
135
|
+
pass
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class FileStoreAttributeView(AttributeView):
|
|
139
|
+
def name(self):
|
|
140
|
+
# type: () -> Union[str, unicode]
|
|
141
|
+
pass
|
java/org/__init__.py
ADDED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
__all__ = ["Animator"]
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Animator(Object):
|
|
7
|
+
def cancel(self):
|
|
8
|
+
# type: () -> bool
|
|
9
|
+
return True
|
|
10
|
+
|
|
11
|
+
def pause(self):
|
|
12
|
+
# type: () -> None
|
|
13
|
+
pass
|
|
14
|
+
|
|
15
|
+
def resume(self):
|
|
16
|
+
# type: () -> None
|
|
17
|
+
pass
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
__all__ = ["Principal"]
|
|
2
|
+
from typing import Union
|
|
3
|
+
|
|
4
|
+
from java.lang import Object
|
|
5
|
+
from javax.security.auth import Subject
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Principal(object):
|
|
9
|
+
def equals(self, another):
|
|
10
|
+
# type: (Object) -> bool
|
|
11
|
+
raise NotImplementedError
|
|
12
|
+
|
|
13
|
+
def getName(self):
|
|
14
|
+
# type: () -> Union[str, unicode]
|
|
15
|
+
raise NotImplementedError
|
|
16
|
+
|
|
17
|
+
def hashCode(self):
|
|
18
|
+
# type: () -> int
|
|
19
|
+
raise NotImplementedError
|
|
20
|
+
|
|
21
|
+
def implies(self, subject):
|
|
22
|
+
# type: (Subject) -> bool
|
|
23
|
+
return True
|
|
24
|
+
|
|
25
|
+
def toString(self):
|
|
26
|
+
# type: () -> Union[str, unicode]
|
|
27
|
+
raise NotImplementedError
|