@@ -289,7 +289,7 @@ void freeResources() {
289
289
}
290
290
291
291
/**
292
- * Retrieves the attribute with the specified name. The default implementation simply throws an exception.
292
+ * Gets the attribute with the specified name. The default implementation simply throws an exception.
293
293
*
294
294
* @param attrName The name of the attribute.
295
295
* @return the Object associated with the attribute or null if no object is.
@@ -305,7 +305,7 @@ FileSystemKey getCacheKey() {
305
305
}
306
306
307
307
/**
308
- * Returns a cached file.
308
+ * Gets a cached file.
309
309
*
310
310
* @param name name to search for.
311
311
* @return file object or null if not found.
@@ -320,7 +320,7 @@ private FilesCache getFilesCache() {
320
320
}
321
321
322
322
/**
323
- * Returns the FileSystemManager used to instantiate this file system.
323
+ * Gets the FileSystemManager used to instantiate this file system.
324
324
*
325
325
* @return the FileSystemManager.
326
326
*/
@@ -330,7 +330,7 @@ public FileSystemManager getFileSystemManager() {
330
330
}
331
331
332
332
/**
333
- * Returns the FileSystemOptions used to instantiate this file system.
333
+ * Gets the FileSystemOptions used to instantiate this file system.
334
334
*
335
335
* @return the FileSystemOptions.
336
336
*/
@@ -340,17 +340,17 @@ public FileSystemOptions getFileSystemOptions() {
340
340
}
341
341
342
342
/**
343
- * Returns the accuracy of the last modification time.
343
+ * Gets the accuracy of the last modification time.
344
344
*
345
- * @return ms 0 perfectly accurate, {@literal > 0} might be off by this value e.g. sftp 1000ms
345
+ * @return milliseconds, 0 means perfectly accurate, {@code > 0} might be off by this value, for examnple, sftp is 1000 milliseconds.
346
346
*/
347
347
@ Override
348
348
public double getLastModTimeAccuracy () {
349
349
return 0 ;
350
350
}
351
351
352
352
/**
353
- * Returns the parent layer if this is a layered file system.
353
+ * Gets the parent layer if this is a layered file system.
354
354
*
355
355
* @return The FileObject for the parent layer.
356
356
* @throws FileSystemException if an error occurs.
@@ -361,7 +361,7 @@ public FileObject getParentLayer() throws FileSystemException {
361
361
}
362
362
363
363
/**
364
- * Returns the root file of this file system.
364
+ * Gets the root file of this file system.
365
365
*
366
366
* @return The root FileObject of the FileSystem
367
367
* @throws FileSystemException if an error occurs.
@@ -372,7 +372,7 @@ public FileObject getRoot() throws FileSystemException {
372
372
}
373
373
374
374
/**
375
- * Returns the name of the root of this file system.
375
+ * Gets the name of the root of this file system.
376
376
*
377
377
* @return the root FileName.
378
378
*/
@@ -382,7 +382,7 @@ public FileName getRootName() {
382
382
}
383
383
384
384
/**
385
- * Returns the root URI specified for this file System.
385
+ * Gets the root URI specified for this file System.
386
386
*
387
387
* @return The root URI used in this file system.
388
388
* @since 2.0
@@ -393,7 +393,7 @@ public String getRootURI() {
393
393
}
394
394
395
395
/**
396
- * Determines if this file system has a particular capability.
396
+ * Tests whether this file system has a particular capability.
397
397
*
398
398
* @param capability the Capability to check for.
399
399
* @return true if the FileSystem has the Capability, false otherwise.
@@ -414,7 +414,7 @@ public void init() throws FileSystemException {
414
414
}
415
415
416
416
/**
417
- * Checks if this file system has open streams.
417
+ * Tests whether this file system has open streams.
418
418
*
419
419
* @return true if the FileSystem has open streams.
420
420
*/
@@ -423,9 +423,9 @@ public boolean isOpen() {
423
423
}
424
424
425
425
/**
426
- * Returns true if no file is using this FileSystem.
426
+ * Tests whether any files are using this FileSystem.
427
427
*
428
- * @return true if no file is using this FileSystem.
428
+ * @return whether any files are using this FileSystem.
429
429
*/
430
430
public boolean isReleaseable () {
431
431
return useCount .get () < 1 ;
0 commit comments