Added @ThreadSafe.

This commit is contained in:
Adam Murdoch
2012-09-08 10:19:26 +10:00
parent 65e2610eef
commit 182efebb40
3 changed files with 12 additions and 0 deletions

View File

@@ -5,11 +5,13 @@ import java.util.List;
/**
* Provides access to the file systems of the current machine.
*/
@ThreadSafe
public interface FileSystems extends NativeIntegration {
/**
* Returns the set of all file systems for the current machine.
*
* @throws NativeException On failure.
*/
@ThreadSafe
List<FileSystem> getFileSystems() throws NativeException;
}