Module io.github.ascopes.jct
Package io.github.ascopes.jct.workspaces
Interface RamFileSystemProvider
@API(since="0.0.1",
status=STABLE)
@Deprecated(since="0.6.0",
forRemoval=true)
public interface RamFileSystemProvider
Deprecated, for removal: This API element is subject to removal in a future version.
this feature should never be needed by users of this library, and so has been
deprecated for removal in v1.0.0.
Service provider interface for a RAM-based file system provider.
This enables swapping out the default RAM file system implementation with a custom
implementation by using Java's ServiceLoader mechanism.
- Since:
- 0.0.1
- Author:
- Ashley Scopes
-
Method Summary
Modifier and TypeMethodDescriptioncreateFileSystem(String name) Deprecated, for removal: This API element is subject to removal in a future version.Create the new file system.static RamFileSystemProviderDeprecated, for removal: This API element is subject to removal in a future version.Get the service provider implementation to use.
-
Method Details
-
createFileSystem
Deprecated, for removal: This API element is subject to removal in a future version.Create the new file system.- Parameters:
name- the file system name to use.- Returns:
- the file system object.
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.Get the service provider implementation to use.- Returns:
- the first service provider implementation, or a default implementation if not provided.
-