@sitevision/api 2023.2.2-beta.1 → 2023.2.2-beta.3

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.
Files changed (147) hide show
  1. package/package.json +1 -1
  2. package/server/ArraysInstance/index.d.ts +1 -1
  3. package/server/CollectionsInstance/index.d.ts +1 -1
  4. package/server/NodeTypeUtil/index.d.ts +1 -1
  5. package/server/PermissionUtil/index.d.ts +3 -3
  6. package/server/Properties/index.d.ts +7 -4
  7. package/server/TagUtil/index.d.ts +1 -1
  8. package/types/java/io/File/index.d.ts +0 -120
  9. package/types/java/io/File/index.js +0 -2
  10. package/types/java/io/PrintStream/index.d.ts +4 -4
  11. package/types/java/io/PrintWriter/index.d.ts +4 -4
  12. package/types/java/lang/Boolean/index.d.ts +0 -123
  13. package/types/java/lang/Boolean/index.js +1 -8
  14. package/types/java/lang/Class/index.d.ts +9 -97
  15. package/types/java/lang/Class/index.js +0 -1
  16. package/types/java/lang/ClassLoader/index.d.ts +0 -91
  17. package/types/java/lang/ClassLoader/index.js +0 -5
  18. package/types/java/lang/Double/index.d.ts +0 -541
  19. package/types/java/lang/Double/index.js +2 -13
  20. package/types/java/lang/Enum/index.d.ts +0 -23
  21. package/types/java/lang/Enum/index.js +0 -1
  22. package/types/java/lang/Float/index.d.ts +0 -494
  23. package/types/java/lang/Float/index.js +2 -13
  24. package/types/java/lang/Integer/index.d.ts +0 -780
  25. package/types/java/lang/Integer/index.js +2 -29
  26. package/types/java/lang/Long/index.d.ts +0 -788
  27. package/types/java/lang/Long/index.js +2 -28
  28. package/types/java/lang/Package/index.d.ts +0 -28
  29. package/types/java/lang/Package/index.js +0 -2
  30. package/types/java/lang/String/index.d.ts +0 -193
  31. package/types/java/lang/String/index.js +0 -4
  32. package/types/java/lang/reflect/AccessibleObject/index.d.ts +0 -25
  33. package/types/java/lang/reflect/Constructor/index.d.ts +1 -1
  34. package/types/java/lang/reflect/Method/index.d.ts +1 -1
  35. package/types/java/math/BigDecimal/index.d.ts +1 -40
  36. package/types/java/math/BigDecimal/index.js +0 -1
  37. package/types/java/math/BigInteger/index.d.ts +0 -25
  38. package/types/java/math/BigInteger/index.js +0 -2
  39. package/types/java/net/InetAddress/index.d.ts +0 -134
  40. package/types/java/net/InetAddress/index.js +1 -6
  41. package/types/java/net/NetworkInterface/index.d.ts +0 -50
  42. package/types/java/net/NetworkInterface/index.js +0 -4
  43. package/types/java/net/URI/index.d.ts +0 -22
  44. package/types/java/net/URI/index.js +0 -1
  45. package/types/java/net/URL/index.d.ts +0 -23
  46. package/types/java/net/URL/index.js +1 -2
  47. package/types/java/net/URLConnection/index.d.ts +0 -125
  48. package/types/java/net/URLConnection/index.js +1 -10
  49. package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +0 -136
  50. package/types/java/nio/channels/AsynchronousFileChannel/index.js +0 -1
  51. package/types/java/nio/channels/FileChannel/index.d.ts +0 -128
  52. package/types/java/nio/channels/FileChannel/index.js +0 -1
  53. package/types/java/nio/charset/Charset/index.d.ts +1 -58
  54. package/types/java/nio/charset/Charset/index.js +0 -4
  55. package/types/java/nio/file/FileSystem/index.d.ts +1 -1
  56. package/types/java/nio/file/Path/index.d.ts +3 -3
  57. package/types/java/nio/file/Watchable/index.d.ts +2 -2
  58. package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +18 -26
  59. package/types/java/nio/file/spi/FileSystemProvider/index.js +0 -1
  60. package/types/java/text/DateFormat/index.d.ts +0 -130
  61. package/types/java/text/DateFormat/index.js +0 -5
  62. package/types/java/text/DateFormatSymbols/index.d.ts +7 -52
  63. package/types/java/text/DateFormatSymbols/index.js +0 -2
  64. package/types/java/text/NumberFormat/index.d.ts +0 -123
  65. package/types/java/text/NumberFormat/index.js +0 -6
  66. package/types/java/time/Clock/index.d.ts +1 -162
  67. package/types/java/time/Clock/index.js +0 -8
  68. package/types/java/time/Duration/index.d.ts +3 -193
  69. package/types/java/time/Duration/index.js +0 -10
  70. package/types/java/time/Instant/index.d.ts +0 -101
  71. package/types/java/time/Instant/index.js +0 -5
  72. package/types/java/time/LocalDate/index.d.ts +4 -134
  73. package/types/java/time/LocalDate/index.js +0 -6
  74. package/types/java/time/LocalDateTime/index.d.ts +7 -285
  75. package/types/java/time/LocalDateTime/index.js +0 -6
  76. package/types/java/time/LocalTime/index.d.ts +2 -146
  77. package/types/java/time/LocalTime/index.js +0 -6
  78. package/types/java/time/OffsetDateTime/index.d.ts +7 -177
  79. package/types/java/time/OffsetDateTime/index.js +0 -6
  80. package/types/java/time/OffsetTime/index.d.ts +3 -141
  81. package/types/java/time/OffsetTime/index.js +0 -5
  82. package/types/java/time/Period/index.d.ts +1 -135
  83. package/types/java/time/Period/index.js +0 -8
  84. package/types/java/time/ZoneId/index.d.ts +1 -121
  85. package/types/java/time/ZoneId/index.js +0 -5
  86. package/types/java/time/ZoneOffset/index.d.ts +1 -104
  87. package/types/java/time/ZoneOffset/index.js +0 -6
  88. package/types/java/time/ZonedDateTime/index.d.ts +6 -284
  89. package/types/java/time/ZonedDateTime/index.js +0 -7
  90. package/types/java/time/format/DateTimeFormatter/index.d.ts +4 -217
  91. package/types/java/time/format/DateTimeFormatter/index.js +0 -6
  92. package/types/java/time/format/DecimalStyle/index.d.ts +0 -34
  93. package/types/java/time/format/DecimalStyle/index.js +0 -3
  94. package/types/java/time/temporal/ValueRange/index.d.ts +0 -43
  95. package/types/java/time/temporal/ValueRange/index.js +0 -1
  96. package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +2 -19
  97. package/types/java/time/zone/ZoneOffsetTransition/index.js +0 -1
  98. package/types/java/time/zone/ZoneRules/index.d.ts +2 -28
  99. package/types/java/time/zone/ZoneRules/index.js +0 -1
  100. package/types/java/util/Calendar/index.d.ts +2 -67
  101. package/types/java/util/Calendar/index.js +0 -3
  102. package/types/java/util/Comparator/index.d.ts +16 -16
  103. package/types/java/util/Currency/index.d.ts +0 -38
  104. package/types/java/util/Currency/index.js +0 -2
  105. package/types/java/util/Date/index.d.ts +0 -160
  106. package/types/java/util/Date/index.js +0 -3
  107. package/types/java/util/Locale/index.d.ts +0 -344
  108. package/types/java/util/Locale/index.js +1 -11
  109. package/types/java/util/Optional/index.d.ts +0 -27
  110. package/types/java/util/Optional/index.js +0 -3
  111. package/types/java/util/OptionalDouble/index.d.ts +0 -15
  112. package/types/java/util/OptionalDouble/index.js +0 -2
  113. package/types/java/util/OptionalInt/index.d.ts +0 -15
  114. package/types/java/util/OptionalInt/index.js +0 -2
  115. package/types/java/util/OptionalLong/index.d.ts +0 -15
  116. package/types/java/util/OptionalLong/index.js +0 -2
  117. package/types/java/util/TimeZone/index.d.ts +0 -65
  118. package/types/java/util/TimeZone/index.js +0 -4
  119. package/types/java/util/stream/Collector/index.d.ts +2 -2
  120. package/types/java/util/stream/DoubleStream/index.d.ts +1 -1
  121. package/types/java/util/stream/IntStream/index.d.ts +1 -1
  122. package/types/java/util/stream/LongStream/index.d.ts +1 -1
  123. package/types/java/util/stream/Stream/index.d.ts +1 -1
  124. package/types/javax/jcr/PropertyType/index.d.ts +2 -18
  125. package/types/javax/jcr/PropertyType/index.js +1 -4
  126. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +1 -1
  127. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +1 -1
  128. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +2 -2
  129. package/types/javax/jcr/observation/ObservationManager/index.d.ts +4 -4
  130. package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +2 -19
  131. package/types/javax/jcr/version/OnParentVersionAction/index.js +1 -4
  132. package/types/java/net/ContentHandler/index.d.ts +0 -70
  133. package/types/java/net/ContentHandler/index.js +0 -10
  134. package/types/java/net/ContentHandlerFactory/index.d.ts +0 -26
  135. package/types/java/net/ContentHandlerFactory/index.js +0 -10
  136. package/types/java/net/FileNameMap/index.d.ts +0 -16
  137. package/types/java/net/FileNameMap/index.js +0 -10
  138. package/types/java/net/URLStreamHandler/index.d.ts +0 -199
  139. package/types/java/net/URLStreamHandler/index.js +0 -19
  140. package/types/java/net/URLStreamHandlerFactory/index.d.ts +0 -24
  141. package/types/java/net/URLStreamHandlerFactory/index.js +0 -10
  142. package/types/java/time/format/FormatStyle/index.d.ts +0 -14
  143. package/types/java/time/format/FormatStyle/index.js +0 -13
  144. package/types/java/util/Locale.Category/index.d.ts +0 -12
  145. package/types/java/util/Locale.Category/index.js +0 -11
  146. package/types/java/util/Locale.FilteringMode/index.d.ts +0 -97
  147. package/types/java/util/Locale.FilteringMode/index.js +0 -14
@@ -1,7 +1,6 @@
1
1
  import type { String } from "../../../lang/String";
2
-
3
- import type { SortedMap } from "../../../util/SortedMap";
4
2
  import type { Set } from "../../../util/Set";
3
+
5
4
  import type { Locale } from "../../../util/Locale";
6
5
 
7
6
  import type { Object } from "../../../lang/Object";
@@ -226,62 +225,6 @@ import type { Comparable } from "../../../lang/Comparable";
226
225
  */
227
226
  export type Charset = Object &
228
227
  Comparable & {
229
- /**
230
- * Tells whether the named charset is supported.
231
- * @param charsetName
 The name of the requested charset; may be either
 a canonical name or an alias
232
- * @return <tt>true</tt> if, and only if, support for the named charset&#xA; is available in the current Java virtual machine
233
- * @throws IllegalCharsetNameException&#xA; If the given charset name is illegal
234
- * @throws IllegalArgumentException&#xA; If the given <tt>charsetName</tt> is null
235
- */
236
- isSupported(charsetName: String | string): boolean;
237
-
238
- /**
239
- * Returns a charset object for the named charset.
240
- * @param charsetName&#xA; The name of the requested charset; may be either&#xA; a canonical name or an alias
241
- * @return A charset object for the named charset
242
- * @throws IllegalCharsetNameException&#xA; If the given charset name is illegal
243
- * @throws IllegalArgumentException&#xA; If the given <tt>charsetName</tt> is null
244
- * @throws UnsupportedCharsetException&#xA; If no support for the named charset is available&#xA; in this instance of the Java virtual machine
245
- */
246
- forName(charsetName: String | string): Charset;
247
-
248
- /**
249
- * Constructs a sorted map from canonical charset names to charset objects.
250
- *
251
- * <p> The map returned by this method will have one entry for each charset
252
- * for which support is available in the current Java virtual machine. If
253
- * two or more supported charsets have the same canonical name then the
254
- * resulting map will contain just one of them; which one it will contain
255
- * is not specified. </p>
256
- *
257
- * <p> The invocation of this method, and the subsequent use of the
258
- * resulting map, may cause time-consuming disk or network I/O operations
259
- * to occur. This method is provided for applications that need to
260
- * enumerate all of the available charsets, for example to allow user
261
- * charset selection. This method is not used by the {@link #forName
262
- * forName} method, which instead employs an efficient incremental lookup
263
- * algorithm.
264
- *
265
- * <p> This method may return different results at different times if new
266
- * charset providers are dynamically made available to the current Java
267
- * virtual machine. In the absence of such changes, the charsets returned
268
- * by this method are exactly those that can be retrieved via the {@link
269
- * #forName forName} method. </p>
270
- * @return An immutable, case-insensitive map from canonical charset names&#xA; to charset objects
271
- */
272
- availableCharsets(): SortedMap;
273
-
274
- /**
275
- * Returns the default charset of this Java virtual machine.
276
- *
277
- * <p> The default charset is determined during virtual-machine startup and
278
- * typically depends upon the locale and charset of the underlying
279
- * operating system.
280
- * @return A charset object for the default charset
281
- * @since 1.5
282
- */
283
- defaultCharset(): Charset;
284
-
285
228
  /**
286
229
  * Returns this charset's canonical name.
287
230
  * @return The canonical name of this charset
@@ -5,10 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- isSupported: function isSupported() {},
9
- forName: function forName() {},
10
- availableCharsets: function availableCharsets() {},
11
- defaultCharset: function defaultCharset() {},
12
8
  name: function name() {},
13
9
  aliases: function aliases() {},
14
10
  displayName: function displayName() {},
@@ -243,7 +243,7 @@ export type FileSystem = Object &
243
243
  * @return the resulting {@code Path}
244
244
  * @throws InvalidPathException&#xA; If the path string cannot be converted
245
245
  */
246
- getPath(first: String | string, more: String | string[]): Path;
246
+ getPath(first: String | string, ...more: String[] | string[]): Path;
247
247
 
248
248
  /**
249
249
  * Returns a {@code PathMatcher} that performs match operations on the
@@ -451,7 +451,7 @@ export type Path = Comparable &
451
451
  * @throws IOException&#xA; if the file does not exist or an I/O error occurs
452
452
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager&#xA; is installed, its {@link SecurityManager#checkRead(String) checkRead}&#xA; method is invoked to check read access to the file, and where&#xA; this path is not absolute, its {@link SecurityManager#checkPropertyAccess(String)&#xA; checkPropertyAccess} method is invoked to check access to the&#xA; system property {@code user.dir}
453
453
  */
454
- toRealPath(options: LinkOption[]): Path;
454
+ toRealPath(...options: LinkOption[]): Path;
455
455
 
456
456
  /**
457
457
  * Returns a {@link File} object representing this path. Where this {@code
@@ -513,7 +513,7 @@ export type Path = Comparable &
513
513
  register(
514
514
  watcher: WatchService,
515
515
  events: Kind[],
516
- modifiers: Modifier[]
516
+ ...modifiers: Modifier[]
517
517
  ): WatchKey;
518
518
 
519
519
  /**
@@ -544,7 +544,7 @@ export type Path = Comparable &
544
544
  * @throws IOException&#xA; If an I/O error occurs
545
545
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkRead(String) checkRead}&#xA; method is invoked to check read access to the file.
546
546
  */
547
- register(watcher: WatchService, events: Kind[]): WatchKey;
547
+ register(watcher: WatchService, ...events: Kind[]): WatchKey;
548
548
 
549
549
  /**
550
550
  * Returns an iterator over the name elements of this path.
@@ -47,7 +47,7 @@ export type Watchable = {
47
47
  register(
48
48
  watcher: WatchService,
49
49
  events: Kind[],
50
- modifiers: Modifier[]
50
+ ...modifiers: Modifier[]
51
51
  ): WatchKey;
52
52
 
53
53
  /**
@@ -67,5 +67,5 @@ export type Watchable = {
67
67
  * @throws IOException&#xA; if an I/O error occurs
68
68
  * @throws SecurityException&#xA; if a security manager is installed and it denies an unspecified&#xA; permission required to monitor this object. Implementations of&#xA; this interface should specify the permission checks.
69
69
  */
70
- register(watcher: WatchService, events: Kind[]): WatchKey;
70
+ register(watcher: WatchService, ...events: Kind[]): WatchKey;
71
71
  };
@@ -1,4 +1,3 @@
1
- import type { List } from "../../../../util/List";
2
1
  import type { String } from "../../../../lang/String";
3
2
  import type { URI } from "../../../../net/URI";
4
3
  import type { Map } from "../../../../util/Map";
@@ -60,17 +59,6 @@ import type { Object } from "../../../../lang/Object";
60
59
  * @since 1.7
61
60
  */
62
61
  export type FileSystemProvider = Object & {
63
- /**
64
- * Returns a list of the installed file system providers.
65
- *
66
- * <p> The first invocation of this method causes the default provider to be
67
- * initialized (if not already initialized) and loads any other installed
68
- * providers as described by the {@link FileSystems} class.
69
- * @return An unmodifiable list of the installed file system providers. The&#xA; list contains at least one element, that is the default file&#xA; system provider
70
- * @throws ServiceConfigurationError&#xA; When an error occurs while loading a service provider
71
- */
72
- installedProviders(): List;
73
-
74
62
  /**
75
63
  * Returns the URI scheme that identifies this provider.
76
64
  * @return The URI scheme
@@ -200,7 +188,7 @@ export type FileSystemProvider = Object & {
200
188
  * @throws IOException&#xA; if an I/O error occurs
201
189
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkRead(String) checkRead}&#xA; method is invoked to check read access to the file.
202
190
  */
203
- newInputStream(path: Path, options: OpenOption[]): InputStream;
191
+ newInputStream(path: Path, ...options: OpenOption[]): InputStream;
204
192
 
205
193
  /**
206
194
  * Opens or creates a file, returning an output stream that may be used to
@@ -219,7 +207,7 @@ export type FileSystemProvider = Object & {
219
207
  * @throws IOException&#xA; if an I/O error occurs
220
208
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkWrite(String) checkWrite}&#xA; method is invoked to check write access to the file. The {@link&#xA; SecurityManager#checkDelete(String) checkDelete} method is&#xA; invoked to check delete access if the file is opened with the&#xA; {@code DELETE_ON_CLOSE} option.
221
209
  */
222
- newOutputStream(path: Path, options: OpenOption[]): OutputStream;
210
+ newOutputStream(path: Path, ...options: OpenOption[]): OutputStream;
223
211
 
224
212
  /**
225
213
  * Opens or creates a file for reading and/or writing, returning a file
@@ -242,7 +230,7 @@ export type FileSystemProvider = Object & {
242
230
  newFileChannel(
243
231
  path: Path,
244
232
  options: Set | unknown[],
245
- attrs: FileAttribute[]
233
+ ...attrs: FileAttribute[]
246
234
  ): FileChannel;
247
235
 
248
236
  /**
@@ -270,7 +258,7 @@ export type FileSystemProvider = Object & {
270
258
  path: Path,
271
259
  options: Set | unknown[],
272
260
  executor: ExecutorService,
273
- attrs: FileAttribute[]
261
+ ...attrs: FileAttribute[]
274
262
  ): AsynchronousFileChannel;
275
263
 
276
264
  /**
@@ -290,7 +278,7 @@ export type FileSystemProvider = Object & {
290
278
  newByteChannel(
291
279
  path: Path,
292
280
  options: Set | unknown[],
293
- attrs: FileAttribute[]
281
+ ...attrs: FileAttribute[]
294
282
  ): SeekableByteChannel;
295
283
 
296
284
  /**
@@ -318,7 +306,7 @@ export type FileSystemProvider = Object & {
318
306
  * @throws IOException&#xA; if an I/O error occurs or the parent directory does not exist
319
307
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkWrite(String) checkWrite}&#xA; method is invoked to check write access to the new directory.
320
308
  */
321
- createDirectory(dir: Path, attrs: FileAttribute[]): void;
309
+ createDirectory(dir: Path, ...attrs: FileAttribute[]): void;
322
310
 
323
311
  /**
324
312
  * Creates a symbolic link to a target. This method works in exactly the
@@ -334,7 +322,7 @@ export type FileSystemProvider = Object & {
334
322
  * @throws IOException&#xA; if an I/O error occurs
335
323
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager&#xA; is installed, it denies {@link LinkPermission}<tt>("symbolic")</tt>&#xA; or its {@link SecurityManager#checkWrite(String) checkWrite}&#xA; method denies write access to the path of the symbolic link.
336
324
  */
337
- createSymbolicLink(link: Path, target: Path, attrs: FileAttribute[]): void;
325
+ createSymbolicLink(link: Path, target: Path, ...attrs: FileAttribute[]): void;
338
326
 
339
327
  /**
340
328
  * Creates a new link (directory entry) for an existing file. This method
@@ -407,7 +395,7 @@ export type FileSystemProvider = Object & {
407
395
  * @throws IOException&#xA; if an I/O error occurs
408
396
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkRead(String) checkRead}&#xA; method is invoked to check read access to the source file, the&#xA; {@link SecurityManager#checkWrite(String) checkWrite} is invoked&#xA; to check write access to the target file. If a symbolic link is&#xA; copied the security manager is invoked to check {@link&#xA; LinkPermission}{@code ("symbolic")}.
409
397
  */
410
- copy(source: Path, target: Path, options: CopyOption[]): void;
398
+ copy(source: Path, target: Path, ...options: CopyOption[]): void;
411
399
 
412
400
  /**
413
401
  * Move or rename a file to a target file. This method works in exactly the
@@ -423,7 +411,7 @@ export type FileSystemProvider = Object & {
423
411
  * @throws IOException&#xA; if an I/O error occurs
424
412
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkWrite(String) checkWrite}&#xA; method is invoked to check write access to both the source and&#xA; target file.
425
413
  */
426
- move(source: Path, target: Path, options: CopyOption[]): void;
414
+ move(source: Path, target: Path, ...options: CopyOption[]): void;
427
415
 
428
416
  /**
429
417
  * Tests if two paths locate the same file. This method works in exactly the
@@ -513,7 +501,7 @@ export type FileSystemProvider = Object & {
513
501
  * @throws IOException&#xA; if an I/O error occurs
514
502
  * @throws SecurityException&#xA; In the case of the default provider, and a security manager is&#xA; installed, the {@link SecurityManager#checkRead(String) checkRead}&#xA; is invoked when checking read access to the file or only the&#xA; existence of the file, the {@link SecurityManager#checkWrite(String)&#xA; checkWrite} is invoked when checking write access to the file,&#xA; and {@link SecurityManager#checkExec(String) checkExec} is invoked&#xA; when checking execute access.
515
503
  */
516
- checkAccess(path: Path, modes: AccessMode[]): void;
504
+ checkAccess(path: Path, ...modes: AccessMode[]): void;
517
505
 
518
506
  /**
519
507
  * Returns a file attribute view of a given type. This method works in
@@ -525,7 +513,11 @@ export type FileSystemProvider = Object & {
525
513
  * @param options&#xA; options indicating how symbolic links are handled
526
514
  * @return a file attribute view of the specified type, or {@code null} if&#xA; the attribute view type is not available
527
515
  */
528
- getFileAttributeView(path: Path, type: Class, options: LinkOption[]): unknown;
516
+ getFileAttributeView(
517
+ path: Path,
518
+ type: Class,
519
+ ...options: LinkOption[]
520
+ ): unknown;
529
521
 
530
522
  /**
531
523
  * Reads a file's attributes as a bulk operation. This method works in
@@ -540,7 +532,7 @@ export type FileSystemProvider = Object & {
540
532
  * @throws IOException&#xA; if an I/O error occurs
541
533
  * @throws SecurityException&#xA; In the case of the default provider, a security manager is&#xA; installed, its {@link SecurityManager#checkRead(String) checkRead}&#xA; method is invoked to check read access to the file
542
534
  */
543
- readAttributes(path: Path, type: Class, options: LinkOption[]): unknown;
535
+ readAttributes(path: Path, type: Class, ...options: LinkOption[]): unknown;
544
536
 
545
537
  /**
546
538
  * Reads a set of file attributes as a bulk operation. This method works in
@@ -558,7 +550,7 @@ export type FileSystemProvider = Object & {
558
550
  readAttributes(
559
551
  path: Path,
560
552
  attributes: String | string,
561
- options: LinkOption[]
553
+ ...options: LinkOption[]
562
554
  ): Map;
563
555
 
564
556
  /**
@@ -578,6 +570,6 @@ export type FileSystemProvider = Object & {
578
570
  path: Path,
579
571
  attribute: String | string,
580
572
  value: unknown,
581
- options: LinkOption[]
573
+ ...options: LinkOption[]
582
574
  ): void;
583
575
  };
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- installedProviders: function installedProviders() {},
9
8
  getScheme: function getScheme() {},
10
9
  newFileSystem: function newFileSystem() {},
11
10
  getFileSystem: function getFileSystem() {},
@@ -4,8 +4,6 @@ import type { FieldPosition } from "../FieldPosition";
4
4
  import type { Date } from "../../util/Date";
5
5
  import type { String } from "../../lang/String";
6
6
  import type { ParsePosition } from "../ParsePosition";
7
-
8
- import type { Locale } from "../../util/Locale";
9
7
  import type { Calendar } from "../../util/Calendar";
10
8
 
11
9
  import type { NumberFormat } from "../NumberFormat";
@@ -203,134 +201,6 @@ export type DateFormat = Format & {
203
201
  */
204
202
  parseObject(source: String | string, pos: ParsePosition): unknown;
205
203
 
206
- /**
207
- * Gets the time formatter with the default formatting style
208
- * for the default {@link java.util.Locale.Category#FORMAT FORMAT} locale.
209
- * <p>This is equivalent to calling
210
- * {@link #getTimeInstance(int, Locale) getTimeInstance(DEFAULT,
211
- * Locale.getDefault(Locale.Category.FORMAT))}.
212
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
213
- * @see java.util.Locale.Category#FORMAT
214
- * @return a time formatter.
215
- */
216
- getTimeInstance(): DateFormat;
217
-
218
- /**
219
- * Gets the time formatter with the given formatting style
220
- * for the default {@link java.util.Locale.Category#FORMAT FORMAT} locale.
221
- * <p>This is equivalent to calling
222
- * {@link #getTimeInstance(int, Locale) getTimeInstance(style,
223
- * Locale.getDefault(Locale.Category.FORMAT))}.
224
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
225
- * @see java.util.Locale.Category#FORMAT
226
- * @param style the given formatting style. For example,&#xA; SHORT for "h:mm a" in the US locale.
227
- * @return a time formatter.
228
- */
229
- getTimeInstance(style: number): DateFormat;
230
-
231
- /**
232
- * Gets the time formatter with the given formatting style
233
- * for the given locale.
234
- * @param style the given formatting style. For example,&#xA; SHORT for "h:mm a" in the US locale.
235
- * @param aLocale the given locale.
236
- * @return a time formatter.
237
- */
238
- getTimeInstance(style: number, aLocale: Locale): DateFormat;
239
-
240
- /**
241
- * Gets the date formatter with the default formatting style
242
- * for the default {@link java.util.Locale.Category#FORMAT FORMAT} locale.
243
- * <p>This is equivalent to calling
244
- * {@link #getDateInstance(int, Locale) getDateInstance(DEFAULT,
245
- * Locale.getDefault(Locale.Category.FORMAT))}.
246
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
247
- * @see java.util.Locale.Category#FORMAT
248
- * @return a date formatter.
249
- */
250
- getDateInstance(): DateFormat;
251
-
252
- /**
253
- * Gets the date formatter with the given formatting style
254
- * for the default {@link java.util.Locale.Category#FORMAT FORMAT} locale.
255
- * <p>This is equivalent to calling
256
- * {@link #getDateInstance(int, Locale) getDateInstance(style,
257
- * Locale.getDefault(Locale.Category.FORMAT))}.
258
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
259
- * @see java.util.Locale.Category#FORMAT
260
- * @param style the given formatting style. For example,&#xA; SHORT for "M/d/yy" in the US locale.
261
- * @return a date formatter.
262
- */
263
- getDateInstance(style: number): DateFormat;
264
-
265
- /**
266
- * Gets the date formatter with the given formatting style
267
- * for the given locale.
268
- * @param style the given formatting style. For example,&#xA; SHORT for "M/d/yy" in the US locale.
269
- * @param aLocale the given locale.
270
- * @return a date formatter.
271
- */
272
- getDateInstance(style: number, aLocale: Locale): DateFormat;
273
-
274
- /**
275
- * Gets the date/time formatter with the default formatting style
276
- * for the default {@link java.util.Locale.Category#FORMAT FORMAT} locale.
277
- * <p>This is equivalent to calling
278
- * {@link #getDateTimeInstance(int, int, Locale) getDateTimeInstance(DEFAULT,
279
- * DEFAULT, Locale.getDefault(Locale.Category.FORMAT))}.
280
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
281
- * @see java.util.Locale.Category#FORMAT
282
- * @return a date/time formatter.
283
- */
284
- getDateTimeInstance(): DateFormat;
285
-
286
- /**
287
- * Gets the date/time formatter with the given date and time
288
- * formatting styles for the default {@link java.util.Locale.Category#FORMAT FORMAT} locale.
289
- * <p>This is equivalent to calling
290
- * {@link #getDateTimeInstance(int, int, Locale) getDateTimeInstance(dateStyle,
291
- * timeStyle, Locale.getDefault(Locale.Category.FORMAT))}.
292
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
293
- * @see java.util.Locale.Category#FORMAT
294
- * @param dateStyle the given date formatting style. For example,&#xA; SHORT for "M/d/yy" in the US locale.
295
- * @param timeStyle the given time formatting style. For example,&#xA; SHORT for "h:mm a" in the US locale.
296
- * @return a date/time formatter.
297
- */
298
- getDateTimeInstance(dateStyle: number, timeStyle: number): DateFormat;
299
-
300
- /**
301
- * Gets the date/time formatter with the given formatting styles
302
- * for the given locale.
303
- * @param dateStyle the given date formatting style.
304
- * @param timeStyle the given time formatting style.
305
- * @param aLocale the given locale.
306
- * @return a date/time formatter.
307
- */
308
- getDateTimeInstance(
309
- dateStyle: number,
310
- timeStyle: number,
311
- aLocale: Locale
312
- ): DateFormat;
313
-
314
- /**
315
- * Get a default date/time formatter that uses the SHORT style for both the
316
- * date and the time.
317
- * @return a date/time formatter
318
- */
319
- getInstance(): DateFormat;
320
-
321
- /**
322
- * Returns an array of all locales for which the
323
- * <code>get*Instance</code> methods of this class can return
324
- * localized instances.
325
- * The returned array represents the union of locales supported by the Java
326
- * runtime and by installed
327
- * {@link java.text.spi.DateFormatProvider DateFormatProvider} implementations.
328
- * It must contain at least a <code>Locale</code> instance equal to
329
- * {@link java.util.Locale#US Locale.US}.
330
- * @return An array of locales for which localized&#xA; <code>DateFormat</code> instances are available.
331
- */
332
- getAvailableLocales(): Locale;
333
-
334
204
  /**
335
205
  * Set the calendar to be used by this date format. Initially, the default
336
206
  * calendar for the specified or default locale is used.
@@ -8,11 +8,6 @@ var _default = {
8
8
  format: function format() {},
9
9
  parse: function parse() {},
10
10
  parseObject: function parseObject() {},
11
- getTimeInstance: function getTimeInstance() {},
12
- getDateInstance: function getDateInstance() {},
13
- getDateTimeInstance: function getDateTimeInstance() {},
14
- getInstance: function getInstance() {},
15
- getAvailableLocales: function getAvailableLocales() {},
16
11
  setCalendar: function setCalendar() {},
17
12
  getCalendar: function getCalendar() {},
18
13
  setNumberFormat: function setNumberFormat() {},
@@ -1,4 +1,3 @@
1
- import type { Locale } from "../../util/Locale";
2
1
  import type { String } from "../../lang/String";
3
2
 
4
3
  import type { Object } from "../../lang/Object";
@@ -53,50 +52,6 @@ import type { Cloneable } from "../../lang/Cloneable";
53
52
  export type DateFormatSymbols = Object &
54
53
  Serializable &
55
54
  Cloneable & {
56
- /**
57
- * Returns an array of all locales for which the
58
- * <code>getInstance</code> methods of this class can return
59
- * localized instances.
60
- * The returned array represents the union of locales supported by the
61
- * Java runtime and by installed
62
- * {@link java.text.spi.DateFormatSymbolsProvider DateFormatSymbolsProvider}
63
- * implementations. It must contain at least a <code>Locale</code>
64
- * instance equal to {@link java.util.Locale#US Locale.US}.
65
- * @return An array of locales for which localized&#xA; <code>DateFormatSymbols</code> instances are available.
66
- * @since 1.6
67
- */
68
- getAvailableLocales(): Locale;
69
-
70
- /**
71
- * Gets the <code>DateFormatSymbols</code> instance for the default
72
- * locale. This method provides access to <code>DateFormatSymbols</code>
73
- * instances for locales supported by the Java runtime itself as well
74
- * as for those supported by installed
75
- * {@link java.text.spi.DateFormatSymbolsProvider DateFormatSymbolsProvider}
76
- * implementations.
77
- * <p>This is equivalent to calling {@link #getInstance(Locale)
78
- * getInstance(Locale.getDefault(Locale.Category.FORMAT))}.
79
- * @see java.util.Locale#getDefault(java.util.Locale.Category)
80
- * @see java.util.Locale.Category#FORMAT
81
- * @return a <code>DateFormatSymbols</code> instance.
82
- * @since 1.6
83
- */
84
- getInstance(): DateFormatSymbols;
85
-
86
- /**
87
- * Gets the <code>DateFormatSymbols</code> instance for the specified
88
- * locale. This method provides access to <code>DateFormatSymbols</code>
89
- * instances for locales supported by the Java runtime itself as well
90
- * as for those supported by installed
91
- * {@link java.text.spi.DateFormatSymbolsProvider DateFormatSymbolsProvider}
92
- * implementations.
93
- * @param locale the given locale.
94
- * @return a <code>DateFormatSymbols</code> instance.
95
- * @throws NullPointerException if <code>locale</code> is null
96
- * @since 1.6
97
- */
98
- getInstance(locale: Locale): DateFormatSymbols;
99
-
100
55
  /**
101
56
  * Gets era strings. For example: "AD" and "BC".
102
57
  * @return the era strings.
@@ -107,7 +62,7 @@ export type DateFormatSymbols = Object &
107
62
  * Sets era strings. For example: "AD" and "BC".
108
63
  * @param newEras the new era strings.
109
64
  */
110
- setEras(newEras: String | string[]): void;
65
+ setEras(newEras: String[] | string[]): void;
111
66
 
112
67
  /**
113
68
  * Gets month strings. For example: "January", "February", etc.
@@ -129,7 +84,7 @@ export type DateFormatSymbols = Object &
129
84
  * Sets month strings. For example: "January", "February", etc.
130
85
  * @param newMonths the new month strings.
131
86
  */
132
- setMonths(newMonths: String | string[]): void;
87
+ setMonths(newMonths: String[] | string[]): void;
133
88
 
134
89
  /**
135
90
  * Gets short month strings. For example: "Jan", "Feb", etc.
@@ -151,7 +106,7 @@ export type DateFormatSymbols = Object &
151
106
  * Sets short month strings. For example: "Jan", "Feb", etc.
152
107
  * @param newShortMonths the new short month strings.
153
108
  */
154
- setShortMonths(newShortMonths: String | string[]): void;
109
+ setShortMonths(newShortMonths: String[] | string[]): void;
155
110
 
156
111
  /**
157
112
  * Gets weekday strings. For example: "Sunday", "Monday", etc.
@@ -163,7 +118,7 @@ export type DateFormatSymbols = Object &
163
118
  * Sets weekday strings. For example: "Sunday", "Monday", etc.
164
119
  * @param newWeekdays the new weekday strings. The array should&#xA; be indexed by <code>Calendar.SUNDAY</code>,&#xA; <code>Calendar.MONDAY</code>, etc.
165
120
  */
166
- setWeekdays(newWeekdays: String | string[]): void;
121
+ setWeekdays(newWeekdays: String[] | string[]): void;
167
122
 
168
123
  /**
169
124
  * Gets short weekday strings. For example: "Sun", "Mon", etc.
@@ -175,7 +130,7 @@ export type DateFormatSymbols = Object &
175
130
  * Sets short weekday strings. For example: "Sun", "Mon", etc.
176
131
  * @param newShortWeekdays the new short weekday strings. The array should&#xA; be indexed by <code>Calendar.SUNDAY</code>,&#xA; <code>Calendar.MONDAY</code>, etc.
177
132
  */
178
- setShortWeekdays(newShortWeekdays: String | string[]): void;
133
+ setShortWeekdays(newShortWeekdays: String[] | string[]): void;
179
134
 
180
135
  /**
181
136
  * Gets ampm strings. For example: "AM" and "PM".
@@ -187,7 +142,7 @@ export type DateFormatSymbols = Object &
187
142
  * Sets ampm strings. For example: "AM" and "PM".
188
143
  * @param newAmpms the new ampm strings.
189
144
  */
190
- setAmPmStrings(newAmpms: String | string[]): void;
145
+ setAmPmStrings(newAmpms: String[] | string[]): void;
191
146
 
192
147
  /**
193
148
  * Gets time zone strings. Use of this method is discouraged; use
@@ -255,7 +210,7 @@ export type DateFormatSymbols = Object &
255
210
  * @throws NullPointerException if <code>newZoneStrings</code> is null
256
211
  * @see #getZoneStrings()
257
212
  */
258
- setZoneStrings(newZoneStrings: String | string[][]): void;
213
+ setZoneStrings(newZoneStrings: String[][] | string[][]): void;
259
214
 
260
215
  /**
261
216
  * Gets localized date-time pattern characters. For example: 'u', 't', etc.
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- getAvailableLocales: function getAvailableLocales() {},
9
- getInstance: function getInstance() {},
10
8
  getEras: function getEras() {},
11
9
  setEras: function setEras() {},
12
10
  getMonths: function getMonths() {},