java-api-stubs 17.25.0__py3-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__.pyi +0 -0
- java/awt/__init__.pyi +95 -0
- java/awt/event/__init__.pyi +87 -0
- java/awt/geom/__init__.pyi +38 -0
- java/awt/image/__init__.pyi +6 -0
- java/awt/print/__init__.pyi +32 -0
- java/beans/__init__.pyi +20 -0
- java/io/__init__.pyi +155 -0
- java/lang/__init__.pyi +260 -0
- java/lang/reflect/__init__.pyi +4 -0
- java/math/__init__.pyi +41 -0
- java/net/__init__.pyi +178 -0
- java/net/http/__init__.pyi +5 -0
- java/nio/__init__.pyi +196 -0
- java/nio/channels/__init__.pyi +127 -0
- java/nio/charset/__init__.pyi +59 -0
- java/nio/file/__init__.pyi +328 -0
- java/nio/file/attribute/__init__.pyi +57 -0
- java/org/__init__.pyi +0 -0
- java/org/jdesktop/__init__.pyi +0 -0
- java/org/jdesktop/core/__init__.pyi +0 -0
- java/org/jdesktop/core/animation/__init__.pyi +0 -0
- java/org/jdesktop/core/animation/timing/__init__.pyi +6 -0
- java/py.typed +0 -0
- java/security/__init__.pyi +11 -0
- java/text/__init__.pyi +211 -0
- java/time/__init__.pyi +233 -0
- java/time/chrono/__init__.pyi +103 -0
- java/time/format/__init__.pyi +44 -0
- java/time/temporal/__init__.pyi +148 -0
- java/util/__init__.pyi +530 -0
- java/util/concurrent/__init__.pyi +57 -0
- java/util/function/__init__.pyi +51 -0
- java/util/regex/__init__.pyi +73 -0
- java/util/stream/__init__.pyi +45 -0
- java_api_stubs-17.25.0.dist-info/METADATA +100 -0
- java_api_stubs-17.25.0.dist-info/RECORD +48 -0
- java_api_stubs-17.25.0.dist-info/WHEEL +5 -0
- java_api_stubs-17.25.0.dist-info/licenses/LICENSE +21 -0
- java_api_stubs-17.25.0.dist-info/top_level.txt +2 -0
- javax/__init__.pyi +0 -0
- javax/py.typed +0 -0
- javax/security/__init__.pyi +0 -0
- javax/security/auth/__init__.pyi +6 -0
- javax/swing/__init__.pyi +186 -0
- javax/swing/event/__init__.pyi +17 -0
- javax/swing/plaf/__init__.pyi +11 -0
- javax/swing/text/__init__.pyi +7 -0
java/__init__.pyi
ADDED
|
File without changes
|
java/awt/__init__.pyi
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
from typing import Any, Optional, Union
|
|
2
|
+
|
|
3
|
+
from java.awt.geom import Dimension2D, Point2D
|
|
4
|
+
from java.lang import Object
|
|
5
|
+
from java.util import EventObject
|
|
6
|
+
|
|
7
|
+
class LayoutManager:
|
|
8
|
+
def addLayoutComponent(
|
|
9
|
+
self, name: Union[str, unicode], comp: Component
|
|
10
|
+
) -> None: ...
|
|
11
|
+
def layoutContainer(self, parent: Container) -> None: ...
|
|
12
|
+
def minimumLayoutSize(self, parent: Container) -> Dimension: ...
|
|
13
|
+
def preferredLayoutSize(self, parent: Container) -> Dimension: ...
|
|
14
|
+
def removeLayoutComponent(self, comp: Component) -> None: ...
|
|
15
|
+
|
|
16
|
+
class AWTEvent(EventObject):
|
|
17
|
+
def __init__(self, source: Object, id: int) -> None: ...
|
|
18
|
+
def getID(self) -> int: ...
|
|
19
|
+
def paramString(self) -> Union[str, unicode]: ...
|
|
20
|
+
def setSource(self, newSource: Object) -> None: ...
|
|
21
|
+
|
|
22
|
+
class Color(Object):
|
|
23
|
+
def __init__(self, *args: Any) -> None: ...
|
|
24
|
+
|
|
25
|
+
class Component(Object):
|
|
26
|
+
def imageUpdate(
|
|
27
|
+
self, img: Image, infoflags: int, x: int, y: int, width: int, height: int
|
|
28
|
+
) -> bool: ...
|
|
29
|
+
|
|
30
|
+
class Container(Component):
|
|
31
|
+
def add(self, *args: Any) -> Optional[Component]: ...
|
|
32
|
+
|
|
33
|
+
class Dimension(Dimension2D):
|
|
34
|
+
height: int
|
|
35
|
+
width: int
|
|
36
|
+
def __init__(self, *args: Any) -> None: ...
|
|
37
|
+
def getHeight(self) -> float: ...
|
|
38
|
+
def getSize(self) -> Dimension: ...
|
|
39
|
+
def getWidth(self) -> float: ...
|
|
40
|
+
def setSize(self, *args: Any) -> None: ...
|
|
41
|
+
|
|
42
|
+
class Image(Object):
|
|
43
|
+
def flush(self) -> None: ...
|
|
44
|
+
def getAccelerationPriority(self) -> float: ...
|
|
45
|
+
def setAccelerationPriority(self, priority: float) -> None: ...
|
|
46
|
+
|
|
47
|
+
class Point(Point2D):
|
|
48
|
+
x: int
|
|
49
|
+
y: int
|
|
50
|
+
def __init__(self, *args: Any) -> None: ...
|
|
51
|
+
def getLocation(self) -> Point: ...
|
|
52
|
+
def getX(self) -> float: ...
|
|
53
|
+
def getY(self) -> float: ...
|
|
54
|
+
def move(self, x: int, y: int) -> None: ...
|
|
55
|
+
def setLocation(self, *args: Any) -> None: ...
|
|
56
|
+
def translate(self, dx: int, dy: int) -> None: ...
|
|
57
|
+
|
|
58
|
+
class Toolkit(Object):
|
|
59
|
+
def __init__(self) -> None: ...
|
|
60
|
+
def beep(self) -> None: ...
|
|
61
|
+
@staticmethod
|
|
62
|
+
def getDefaultToolkit() -> Toolkit: ...
|
|
63
|
+
|
|
64
|
+
class Window(Container):
|
|
65
|
+
def __init__(self, *args: Any) -> None: ...
|
|
66
|
+
|
|
67
|
+
class Frame(Window):
|
|
68
|
+
def __init__(self, *args: Any) -> None: ...
|
|
69
|
+
|
|
70
|
+
class Graphics(Object):
|
|
71
|
+
def create(self) -> Graphics: ...
|
|
72
|
+
|
|
73
|
+
class GridLayout(Object, LayoutManager):
|
|
74
|
+
def __init__(
|
|
75
|
+
self,
|
|
76
|
+
rows: Optional[int] = ...,
|
|
77
|
+
cols: Optional[int] = ...,
|
|
78
|
+
hgap: Optional[int] = ...,
|
|
79
|
+
vgap: Optional[int] = ...,
|
|
80
|
+
) -> None: ...
|
|
81
|
+
def addLayoutComponent(
|
|
82
|
+
self, name: Union[str, unicode], comp: Component
|
|
83
|
+
) -> None: ...
|
|
84
|
+
def getColumns(self) -> int: ...
|
|
85
|
+
def getHgap(self) -> int: ...
|
|
86
|
+
def getRows(self) -> int: ...
|
|
87
|
+
def getVgap(self) -> int: ...
|
|
88
|
+
def layoutContainer(self, parent: Container) -> None: ...
|
|
89
|
+
def minimumLayoutSize(self, parent: Container) -> Dimension: ...
|
|
90
|
+
def preferredLayoutSize(self, parent: Container) -> Dimension: ...
|
|
91
|
+
def removeLayoutComponent(self, comp: Component) -> None: ...
|
|
92
|
+
def setColumns(self, cols: int) -> None: ...
|
|
93
|
+
def setHgap(self, hgap: int) -> None: ...
|
|
94
|
+
def setRows(self, rows: int) -> None: ...
|
|
95
|
+
def setVgap(self, vgap: int) -> None: ...
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
from typing import Any, Union
|
|
2
|
+
|
|
3
|
+
from java.awt import AWTEvent, Component, Point
|
|
4
|
+
from java.lang import Object
|
|
5
|
+
|
|
6
|
+
class ActionEvent(AWTEvent):
|
|
7
|
+
ACTION_FIRST: int
|
|
8
|
+
ACTION_LAST: int
|
|
9
|
+
ACTION_PERFORMED: int
|
|
10
|
+
ACTION_MASK: int
|
|
11
|
+
CTRL_MASK: int
|
|
12
|
+
META_MASK: int
|
|
13
|
+
SHIFT_MASK: int
|
|
14
|
+
def __init__(self, source: Object, id: int, *args: Any) -> None: ...
|
|
15
|
+
def getActionCommand(self) -> Union[str, unicode]: ...
|
|
16
|
+
def getModifiers(self) -> int: ...
|
|
17
|
+
def getWhen(self) -> long: ...
|
|
18
|
+
|
|
19
|
+
class ComponentEvent(AWTEvent):
|
|
20
|
+
COMPONENT_FIRST: int
|
|
21
|
+
COMPONENT_HIDDEN: int
|
|
22
|
+
COMPONENT_LAST: int
|
|
23
|
+
COMPONENT_MOVED: int
|
|
24
|
+
COMPONENT_RESIZED: int
|
|
25
|
+
COMPONENT_SHOWN: int
|
|
26
|
+
def __init__(self, source: Object, id: int) -> None: ...
|
|
27
|
+
def getComponent(self) -> Component: ...
|
|
28
|
+
|
|
29
|
+
class InputEvent(ComponentEvent):
|
|
30
|
+
ALT_DOWN_MASK: int
|
|
31
|
+
ALT_GRAPH_DOWN_MASK: int
|
|
32
|
+
ALT_GRAPH_MASL: int
|
|
33
|
+
ALT_MASK: int
|
|
34
|
+
BUTTON1_DOWN_MASK: int
|
|
35
|
+
BUTTOM1_MASK: int
|
|
36
|
+
BUTTON2_DOWN_MASK: int
|
|
37
|
+
BUTTON2_MASK: int
|
|
38
|
+
BUTTON3_DOWN_MASK: int
|
|
39
|
+
BUTTON3_MASK: int
|
|
40
|
+
CTRL_DOWN_MASK: int
|
|
41
|
+
CTRL_MASK: int
|
|
42
|
+
META_DOWN_MASK: int
|
|
43
|
+
META_MASK: int
|
|
44
|
+
SHIFT_DOWN_MASK: int
|
|
45
|
+
SHIFT_MASK: int
|
|
46
|
+
def consume(self) -> None: ...
|
|
47
|
+
@staticmethod
|
|
48
|
+
def getMaskForButton(button: int) -> int: ...
|
|
49
|
+
def getModifiersEx(self) -> int: ...
|
|
50
|
+
@staticmethod
|
|
51
|
+
def getModifiersExText(modifiers: int) -> Union[str, unicode]: ...
|
|
52
|
+
def getWhen(self) -> long: ...
|
|
53
|
+
def isAltDown(self) -> bool: ...
|
|
54
|
+
def isAltGraphDown(self) -> bool: ...
|
|
55
|
+
def isConsumed(self) -> bool: ...
|
|
56
|
+
def isControlDown(self) -> bool: ...
|
|
57
|
+
def isMetaDown(self) -> bool: ...
|
|
58
|
+
def isShiftDown(self) -> bool: ...
|
|
59
|
+
|
|
60
|
+
class MouseEvent(InputEvent):
|
|
61
|
+
BUTTON1: int
|
|
62
|
+
BUTTON2: int
|
|
63
|
+
BUTTON3: int
|
|
64
|
+
MOUSE_CLICKED: int
|
|
65
|
+
MOUSE_DRAGGED: int
|
|
66
|
+
MOUSE_ENTERED: int
|
|
67
|
+
MOUSE_EXITED: int
|
|
68
|
+
MOUSE_FIRST: int
|
|
69
|
+
MOUSE_LAST: int
|
|
70
|
+
MOUSE_MOVED: int
|
|
71
|
+
MOUSE_PRESSED: int
|
|
72
|
+
MOUSE_RELEASED: int
|
|
73
|
+
MOUSE_WHEEL: int
|
|
74
|
+
NOBUTTON: int
|
|
75
|
+
def __init__(self, source: Component, id: int, *args: Any) -> None: ...
|
|
76
|
+
def getButton(self) -> int: ...
|
|
77
|
+
def getClickCount(self) -> int: ...
|
|
78
|
+
def getLocationOnScreen(self) -> Point: ...
|
|
79
|
+
@staticmethod
|
|
80
|
+
def getMouseModifiersText(modifiers: int) -> Union[str, unicode]: ...
|
|
81
|
+
def getPoint(self) -> Point: ...
|
|
82
|
+
def getX(self) -> int: ...
|
|
83
|
+
def getXOnScreen(self) -> int: ...
|
|
84
|
+
def getY(self) -> int: ...
|
|
85
|
+
def getYOnScreen(self) -> int: ...
|
|
86
|
+
def isPopupTrigger(self) -> bool: ...
|
|
87
|
+
def translatePoint(self, x: int, y: int) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
|
|
5
|
+
class Dimension2D(Object):
|
|
6
|
+
def getHeight(self) -> float: ...
|
|
7
|
+
def getWidth(self) -> float: ...
|
|
8
|
+
def setSize(self, *args: Any) -> None: ...
|
|
9
|
+
|
|
10
|
+
class Point2D(Object):
|
|
11
|
+
class Double(Object):
|
|
12
|
+
x: float
|
|
13
|
+
y: float
|
|
14
|
+
def __init__(self, x: float = ..., y: float = ...) -> None: ...
|
|
15
|
+
def clone(self) -> Object: ...
|
|
16
|
+
def distance(self, *args: Any) -> float: ...
|
|
17
|
+
def distanceSq(self, *args: Any) -> float: ...
|
|
18
|
+
def getX(self) -> float: ...
|
|
19
|
+
def getY(self) -> float: ...
|
|
20
|
+
def setLocation(self, x: float, y: float) -> None: ...
|
|
21
|
+
|
|
22
|
+
class Float(Object):
|
|
23
|
+
x: float
|
|
24
|
+
y: float
|
|
25
|
+
def __init__(self, x: float = ..., y: float = ...) -> None: ...
|
|
26
|
+
def clone(self) -> Object: ...
|
|
27
|
+
def distance(self, *args: Any) -> float: ...
|
|
28
|
+
def distanceSq(self, *args: Any) -> float: ...
|
|
29
|
+
def getX(self) -> float: ...
|
|
30
|
+
def getY(self) -> float: ...
|
|
31
|
+
def setLocation(self, x: float, y: float) -> None: ...
|
|
32
|
+
|
|
33
|
+
def clone(self) -> Object: ...
|
|
34
|
+
def distance(self, *args: Any) -> float: ...
|
|
35
|
+
def distanceSq(self, *args: Any) -> float: ...
|
|
36
|
+
def getX(self) -> float: ...
|
|
37
|
+
def getY(self) -> float: ...
|
|
38
|
+
def setLocation(self, *args: Any) -> None: ...
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
|
|
5
|
+
class PageFormat(Object):
|
|
6
|
+
LANDSCAPE: int
|
|
7
|
+
PORTRAIT: int
|
|
8
|
+
REVERSE_LANDSCAPE: int
|
|
9
|
+
def clone(self) -> Object: ...
|
|
10
|
+
def getHeight(self) -> float: ...
|
|
11
|
+
def getImageableHeight(self) -> float: ...
|
|
12
|
+
def getImageableWidth(self) -> float: ...
|
|
13
|
+
def getImageableX(self) -> float: ...
|
|
14
|
+
def getImageableY(self) -> float: ...
|
|
15
|
+
def getMatrix(self) -> List[float]: ...
|
|
16
|
+
def getOrientation(self) -> int: ...
|
|
17
|
+
def getPaper(self) -> Paper: ...
|
|
18
|
+
def setOrientation(self, orientation: int) -> None: ...
|
|
19
|
+
def setPaper(self, paper: Paper) -> None: ...
|
|
20
|
+
|
|
21
|
+
class Paper(Object):
|
|
22
|
+
def clone(self) -> Object: ...
|
|
23
|
+
def getHeight(self) -> float: ...
|
|
24
|
+
def getImageableHeight(self) -> float: ...
|
|
25
|
+
def getImageableWidth(self) -> float: ...
|
|
26
|
+
def getImageableX(self) -> float: ...
|
|
27
|
+
def getImageableY(self) -> float: ...
|
|
28
|
+
def getWidth(self) -> float: ...
|
|
29
|
+
def setImageableArea(
|
|
30
|
+
self, x: float, y: float, width: float, height: float
|
|
31
|
+
) -> None: ...
|
|
32
|
+
def setSize(self, width: float, height: float) -> None: ...
|
java/beans/__init__.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
from java.util import EventObject
|
|
5
|
+
|
|
6
|
+
class PropertyChangeEvent(EventObject):
|
|
7
|
+
def __init__(
|
|
8
|
+
self,
|
|
9
|
+
source: Object,
|
|
10
|
+
propertyName: Union[str, unicode],
|
|
11
|
+
oldValue: Object,
|
|
12
|
+
newValue: Object,
|
|
13
|
+
) -> None: ...
|
|
14
|
+
def getNewValue(self) -> Object: ...
|
|
15
|
+
def getOldValue(self) -> Object: ...
|
|
16
|
+
def getPropagationId(self) -> Object: ...
|
|
17
|
+
def setPropagationId(self, propagationId: Object) -> None: ...
|
|
18
|
+
|
|
19
|
+
class PropertyChangeListener:
|
|
20
|
+
def propertyChange(self, evt: PropertyChangeEvent) -> None: ...
|
java/io/__init__.pyi
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
from typing import Any, Optional, Union
|
|
2
|
+
|
|
3
|
+
from java.lang import (
|
|
4
|
+
Appendable,
|
|
5
|
+
AutoCloseable,
|
|
6
|
+
CharSequence,
|
|
7
|
+
Exception,
|
|
8
|
+
Object,
|
|
9
|
+
Readable,
|
|
10
|
+
Throwable,
|
|
11
|
+
)
|
|
12
|
+
from java.nio.channels import FileChannel
|
|
13
|
+
from java.nio.charset import Charset, CharsetDecoder
|
|
14
|
+
|
|
15
|
+
class Closeable(AutoCloseable):
|
|
16
|
+
def close(self) -> None: ...
|
|
17
|
+
|
|
18
|
+
class Flushable:
|
|
19
|
+
def flush(self) -> None: ...
|
|
20
|
+
|
|
21
|
+
class File(Object):
|
|
22
|
+
pathSeparator: Union[str, unicode]
|
|
23
|
+
pathSeparatorChar: Union[str, unicode]
|
|
24
|
+
separator: Union[str, unicode]
|
|
25
|
+
separatorChar: Union[str, unicode]
|
|
26
|
+
def __init__(self, *args: Any) -> None: ...
|
|
27
|
+
|
|
28
|
+
class FileDescriptor(Object):
|
|
29
|
+
def sync(self) -> None: ...
|
|
30
|
+
def valid(self) -> bool: ...
|
|
31
|
+
|
|
32
|
+
class OutputStream(Object, Closeable, Flushable):
|
|
33
|
+
def close(self) -> None: ...
|
|
34
|
+
def flush(self) -> None: ...
|
|
35
|
+
@staticmethod
|
|
36
|
+
def nullOutputStream() -> OutputStream: ...
|
|
37
|
+
def write(self, *args: Any) -> None: ...
|
|
38
|
+
|
|
39
|
+
class ByteArrayOutputStream(OutputStream):
|
|
40
|
+
def __init__(self, size: int = ...) -> None: ...
|
|
41
|
+
def reset(self) -> None: ...
|
|
42
|
+
def size(self) -> int: ...
|
|
43
|
+
def toByteArray(self) -> bytearray: ...
|
|
44
|
+
def writeTo(self, arg: Union[bytearray, OutputStream]) -> None: ...
|
|
45
|
+
|
|
46
|
+
class FileOutputStream(OutputStream):
|
|
47
|
+
def __init__(self, *args: Any) -> None: ...
|
|
48
|
+
def getChannel(self) -> Any: ...
|
|
49
|
+
def getFD(self) -> FileDescriptor: ...
|
|
50
|
+
|
|
51
|
+
class FilterOutputStream(OutputStream):
|
|
52
|
+
def __init__(self, out: OutputStream) -> None: ...
|
|
53
|
+
|
|
54
|
+
class DataOutputStream(FilterOutputStream):
|
|
55
|
+
out: OutputStream
|
|
56
|
+
def __init__(self, out: OutputStream) -> None: ...
|
|
57
|
+
def size(self) -> int: ...
|
|
58
|
+
def writeBoolean(self, v: bool) -> None: ...
|
|
59
|
+
def writeByte(self, v: int) -> None: ...
|
|
60
|
+
def writeBytes(self, s: Union[str, unicode]) -> None: ...
|
|
61
|
+
def writeChar(self, v: int) -> None: ...
|
|
62
|
+
def writeChars(self, s: Union[str, unicode]) -> None: ...
|
|
63
|
+
def writeDouble(self, v: float) -> None: ...
|
|
64
|
+
def writeFloat(self, v: float) -> None: ...
|
|
65
|
+
def writeInt(self, v: int) -> None: ...
|
|
66
|
+
def writeLong(self, v: long) -> None: ...
|
|
67
|
+
def writeShort(self, v: int) -> None: ...
|
|
68
|
+
def writeUTF(self, s: Union[str, unicode]) -> None: ...
|
|
69
|
+
|
|
70
|
+
class PrintStream(FilterOutputStream):
|
|
71
|
+
def __init__(self, *args: Any) -> None: ...
|
|
72
|
+
def append(self, *args: Any) -> PrintStream: ...
|
|
73
|
+
def checkError(self) -> bool: ...
|
|
74
|
+
def format(self, *args: Any) -> PrintStream: ...
|
|
75
|
+
def print(self, arg: Any) -> None: ...
|
|
76
|
+
def printf(self, *args: Any) -> None: ...
|
|
77
|
+
def println(self, arg: Any) -> None: ...
|
|
78
|
+
|
|
79
|
+
class InputStream(Object, Closeable):
|
|
80
|
+
def available(self) -> int: ...
|
|
81
|
+
def close(self) -> None: ...
|
|
82
|
+
def mark(self, readlimit: int) -> None: ...
|
|
83
|
+
def markSupported(self) -> bool: ...
|
|
84
|
+
@staticmethod
|
|
85
|
+
def nullInputStream() -> InputStream: ...
|
|
86
|
+
def read(self, *args: Any) -> int: ...
|
|
87
|
+
def readAllBytes(self) -> bytearray: ...
|
|
88
|
+
def readNBytes(self, *args: Any) -> int: ...
|
|
89
|
+
def reset(self) -> None: ...
|
|
90
|
+
def skip(self, n: long) -> long: ...
|
|
91
|
+
def transferTo(self, out: OutputStream) -> long: ...
|
|
92
|
+
|
|
93
|
+
class ByteArrayInputStream(InputStream):
|
|
94
|
+
def __init__(
|
|
95
|
+
self, buf: bytearray, offset: int = ..., length: int = ...
|
|
96
|
+
) -> None: ...
|
|
97
|
+
|
|
98
|
+
class FileInputStream(InputStream):
|
|
99
|
+
def __init__(self, *args: Any) -> None: ...
|
|
100
|
+
def getChannel(self) -> FileChannel: ...
|
|
101
|
+
def getFD(self) -> FileDescriptor: ...
|
|
102
|
+
|
|
103
|
+
class IOException(Exception):
|
|
104
|
+
def __init__(
|
|
105
|
+
self, message: Optional[str] = ..., cause: Optional[Throwable] = ...
|
|
106
|
+
) -> None: ...
|
|
107
|
+
|
|
108
|
+
class Reader(Object, Readable, Closeable):
|
|
109
|
+
def __init__(self, lock: Optional[Object] = ...) -> None: ...
|
|
110
|
+
def close(self) -> None: ...
|
|
111
|
+
def mark(self, readAheadLimit: int) -> None: ...
|
|
112
|
+
def markSupported(self) -> bool: ...
|
|
113
|
+
@staticmethod
|
|
114
|
+
def nullReader() -> Reader: ...
|
|
115
|
+
def read(self, *args: Any) -> int: ...
|
|
116
|
+
def ready(self) -> bool: ...
|
|
117
|
+
def reset(self) -> None: ...
|
|
118
|
+
def skip(self, n: long) -> long: ...
|
|
119
|
+
def transferTo(self, out: Writer) -> long: ...
|
|
120
|
+
|
|
121
|
+
class BufferedReader(Reader):
|
|
122
|
+
def __init__(self, in_: Reader, sz: Optional[int] = ...) -> None: ...
|
|
123
|
+
|
|
124
|
+
class InputStreamReader(Reader):
|
|
125
|
+
def __init__(
|
|
126
|
+
self,
|
|
127
|
+
in_: InputStream,
|
|
128
|
+
arg: Optional[Union[str, unicode, Charset, CharsetDecoder]] = ...,
|
|
129
|
+
) -> None: ...
|
|
130
|
+
def getEncoding(self) -> Union[str, unicode]: ...
|
|
131
|
+
|
|
132
|
+
class Writer(Object, Appendable, Closeable, Flushable):
|
|
133
|
+
def append(
|
|
134
|
+
self, c_csq: Union[CharSequence, str], start: int = ..., end: int = ...
|
|
135
|
+
) -> Writer: ...
|
|
136
|
+
def close(self) -> None: ...
|
|
137
|
+
def flush(self) -> None: ...
|
|
138
|
+
@staticmethod
|
|
139
|
+
def nullWriter() -> Writer: ...
|
|
140
|
+
def write(self, *args: Any) -> None: ...
|
|
141
|
+
|
|
142
|
+
class BufferedWriter(Writer):
|
|
143
|
+
def __init__(self, out: Writer, sz: Optional[int] = ...) -> None: ...
|
|
144
|
+
|
|
145
|
+
class PrintWriter(Writer):
|
|
146
|
+
def __init__(self, *args: Any) -> None: ...
|
|
147
|
+
def append(
|
|
148
|
+
self, c_csq: Union[CharSequence, str], start: int = ..., end: int = ...
|
|
149
|
+
) -> PrintWriter: ...
|
|
150
|
+
def checkError(self) -> bool: ...
|
|
151
|
+
def format(self, *args: Any) -> PrintWriter: ...
|
|
152
|
+
def print(self, arg: Any) -> None: ...
|
|
153
|
+
def printf(self, *args: Any) -> PrintWriter: ...
|
|
154
|
+
def println(self, arg: Any) -> None: ...
|
|
155
|
+
def write(self, *args: Any) -> None: ...
|