java-api 17.26.5__py2-none-any.whl → 17.26.6__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/lang/__init__.py CHANGED
@@ -29,6 +29,7 @@ __all__ = [
29
29
  "String",
30
30
  "StringBuffer",
31
31
  "StringBuilder",
32
+ "System",
32
33
  "Thread",
33
34
  "Throwable",
34
35
  "UnsupportedOperationException",
@@ -36,14 +37,17 @@ __all__ = [
36
37
 
37
38
  import __builtin__ as builtins
38
39
  import array
40
+ import os
39
41
  import time
40
42
  from typing import TYPE_CHECKING, Any, List, Optional, Union
41
43
 
42
44
  from java.lang.reflect import Type
43
45
 
44
46
  if TYPE_CHECKING:
47
+ from java.io import InputStream, PrintStream
45
48
  from java.nio import CharBuffer
46
- from java.util import Iterator, Spliterator
49
+ from java.nio.channels import Channel
50
+ from java.util import Iterator, Properties, Spliterator
47
51
  from java.util.function import Consumer
48
52
  from java.util.stream import IntStream, Stream
49
53
 
@@ -683,6 +687,153 @@ class StringBuilder(Object, CharSequence):
683
687
  pass
684
688
 
685
689
 
690
+ class System(Object):
691
+ """The System class contains several useful class fields and
692
+ methods.
693
+
694
+ It cannot be instantiated. Among the facilities provided by the
695
+ System class are standard input, standard output, and error output
696
+ streams; access to externally defined properties and environment
697
+ variables; a means of loading files and libraries; and a utility
698
+ method for quickly copying a portion of an array.
699
+ """
700
+
701
+ err = None # type: PrintStream
702
+ in_ = None # type: InputStream
703
+ out = None # type: PrintStream
704
+
705
+ @staticmethod
706
+ def arraycopy(src, srcPos, dest, destPos, length):
707
+ # type: (Any, int, Any, int, int) -> None
708
+ pass
709
+
710
+ @staticmethod
711
+ def clearProperty(key):
712
+ # type: (Union[str, unicode]) -> Union[str, unicode]
713
+ pass
714
+
715
+ @staticmethod
716
+ def console():
717
+ # type: () -> Any
718
+ pass
719
+
720
+ @staticmethod
721
+ def currentTimeMillis():
722
+ # type: () -> long
723
+ return long(time.time() * 1000)
724
+
725
+ @staticmethod
726
+ def exit(status):
727
+ # type: (int) -> None
728
+ pass
729
+
730
+ @staticmethod
731
+ def gc():
732
+ # type: () -> None
733
+ pass
734
+
735
+ @staticmethod
736
+ def getenv(name=None):
737
+ # type: (Optional[Union[str, unicode]]) -> Any
738
+ return dict(os.environ) if name is None else os.environ.get(str(name))
739
+
740
+ @staticmethod
741
+ def getLogger(name, bundle=None):
742
+ # type: (Union[str, unicode], Optional[Any]) -> Any
743
+ pass
744
+
745
+ @staticmethod
746
+ def getProperties():
747
+ # type: () -> Properties
748
+ pass
749
+
750
+ @staticmethod
751
+ def getProperty(
752
+ key, # type: Union[str, unicode]
753
+ def_=None, # type: Optional[Union[str, unicode]]
754
+ ):
755
+ # type: (...) -> Union[str, unicode]
756
+ pass
757
+
758
+ @staticmethod
759
+ def getSecurityManager():
760
+ # type: () -> Any
761
+ pass
762
+
763
+ @staticmethod
764
+ def identityHashCode(x):
765
+ # type: (Object) -> int
766
+ return id(x)
767
+
768
+ @staticmethod
769
+ def inheritedChannel():
770
+ # type: () -> Channel
771
+ pass
772
+
773
+ @staticmethod
774
+ def lineSeparator():
775
+ # type: () -> Union[str, unicode]
776
+ return os.linesep
777
+
778
+ @staticmethod
779
+ def load(filename):
780
+ # type: (Union[str, unicode]) -> None
781
+ pass
782
+
783
+ @staticmethod
784
+ def loadLibrary(libname):
785
+ # type: (Union[str, unicode]) -> None
786
+ pass
787
+
788
+ @staticmethod
789
+ def mapLibraryName(libname):
790
+ # type: (Union[str, unicode]) -> Union[str, unicode]
791
+ pass
792
+
793
+ @staticmethod
794
+ def nanoTime():
795
+ # type: () -> long
796
+ return long(time.time() * 1000000000)
797
+
798
+ @staticmethod
799
+ def runFinalization():
800
+ # type: () -> None
801
+ pass
802
+
803
+ @staticmethod
804
+ def setErr(err):
805
+ # type: (PrintStream) -> None
806
+ pass
807
+
808
+ @staticmethod
809
+ def setIn(in_):
810
+ # type: (InputStream) -> None
811
+ pass
812
+
813
+ @staticmethod
814
+ def setOut(out):
815
+ # type: (PrintStream) -> None
816
+ pass
817
+
818
+ @staticmethod
819
+ def setProperties(props):
820
+ # type: (Properties) -> None
821
+ pass
822
+
823
+ @staticmethod
824
+ def setProperty(
825
+ key, # type: Union[str, unicode]
826
+ value, # type: Union[str, unicode]
827
+ ):
828
+ # type: (...) -> Union[str, unicode]
829
+ pass
830
+
831
+ @staticmethod
832
+ def setSecurityManager(sm):
833
+ # type: (Any) -> None
834
+ pass
835
+
836
+
686
837
  class Throwable(Object, builtins.Exception):
687
838
  """The Throwable class is the superclass of all errors and
688
839
  exceptions in the Java language.
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: java-api
3
- Version: 17.26.5
3
+ Version: 17.26.6
4
4
  Summary: Java API Specification
5
5
  Home-page: https://github.com/ignition-devs/java-api
6
6
  Author: César Román
7
7
  Author-email: cesar@coatl.dev
8
8
  License: MIT
9
- Project-URL: Source, https://github.com/ignition-devs/java-api/tree/main
9
+ Project-URL: Source, https://github.com/ignition-devs/java-api/tree/17
10
10
  Project-URL: Documentation, https://docs.oracle.com/en/java/javase/17/docs/api/index.html
11
11
  Project-URL: Funding, https://github.com/sponsors/cesarcoatl
12
12
  Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
@@ -6,7 +6,7 @@ java/awt/image/__init__.py,SHA256=X8ycKnpLb5IagTy11RYm5C503_vNPiWRTaSLnFKU9po,27
6
6
  java/awt/print/__init__.py,SHA256=qo80_7FFoXSqBkMFyiMqPKB-iwVfsvlcwdVuP7u2f7k,1698
7
7
  java/beans/__init__.py,SHA256=ibOy3bc4N84kfDrw4Sxqj_BYZgYUvHN9XFybMqJ5cIM,1086
8
8
  java/io/__init__.py,SHA256=gAD_8mawEhIGzORlIMrSISypQ9jG6quEzsvDmUGu1UU,9301
9
- java/lang/__init__.py,SHA256=OeR32Sz3J3-V5X9q_wRNwg_Ix6vM4JSb1TpPS-x46Yc,20682
9
+ java/lang/__init__.py,SHA256=UZzJlLsuV7Mw5OJr0Iz-vecJoYrZoQ3tUUsgrnlOWsw,24153
10
10
  java/lang/reflect/__init__.py,SHA256=1JbQrNW001Ixelukj3ZBoshgaNiAglkTQbDuzzo51FA,170
11
11
  java/math/__init__.py,SHA256=gzab0BiZlBO3qAmiN6TPDbIwqXMLdBwBRbidWybSulo,2020
12
12
  java/net/__init__.py,SHA256=_Iu8_w2wul09Vkp8YJGMvBlg1SyZmkf0LZiS9e8O-wk,11135
@@ -39,8 +39,8 @@ javax/swing/__init__.py,SHA256=8KcCYh314Woye128yQe0I4zdssIvpm4b5zYYQIbduzU,12325
39
39
  javax/swing/event/__init__.py,SHA256=d4DTi36deUvh4DRps76FJeV3dc4P3UJ4FGO_AGZrzMk,1201
40
40
  javax/swing/plaf/__init__.py,SHA256=mujUSR0nHMp_xFgYyJmTgFSjMRTFCZnTTebN7A-Q4v8,646
41
41
  javax/swing/text/__init__.py,SHA256=2NyK8jNMvcZHsjXxvnDLVzHnpOQmE7Wy-5LXXRLfvq8,440
42
- java_api-17.26.5.dist-info/LICENSE,SHA256=jan5VkSLS7c68CWDQD0qjximES0nbOpwPRd88k3eOXU,1066
43
- java_api-17.26.5.dist-info/METADATA,SHA256=q_viIwFsbzZfxBNSV5H-B65Q2hdjAr3OuKfoSKGMx4E,5082
44
- java_api-17.26.5.dist-info/WHEEL,SHA256=1VPi6hfNQaRRNuEdK_3dv9o8COtLGnHWJghhj4CQ28k,92
45
- java_api-17.26.5.dist-info/top_level.txt,SHA256=ULMl8dxVE3DpTgZToR95hVaQmkl-LPtCbMSiiQAmdck,11
46
- java_api-17.26.5.dist-info/RECORD,,
42
+ java_api-17.26.6.dist-info/LICENSE,SHA256=jan5VkSLS7c68CWDQD0qjximES0nbOpwPRd88k3eOXU,1066
43
+ java_api-17.26.6.dist-info/METADATA,SHA256=vol6uD27wZpsNf5uTYUU2uajKhLbP5t_244ukMRi4rU,5080
44
+ java_api-17.26.6.dist-info/WHEEL,SHA256=1VPi6hfNQaRRNuEdK_3dv9o8COtLGnHWJghhj4CQ28k,92
45
+ java_api-17.26.6.dist-info/top_level.txt,SHA256=ULMl8dxVE3DpTgZToR95hVaQmkl-LPtCbMSiiQAmdck,11
46
+ java_api-17.26.6.dist-info/RECORD,,