RingJavafor Ring

java.nio.file.spi

2 classes of the module java.base.

Load them with:

using {
	"java.nio.file.spi"
}

All packages

FileSystemProvider#

abstract · extends Object · java.nio.file.spi.FileSystemProvider

Methods

MethodRing callJava overloads
checkAccesscheckAccess(path,modes)void checkAccess(Path path, AccessMode[] modes)
copycopy(source,target,options)void copy(Path source, Path target, CopyOption[] options)
createDirectorycreateDirectory(dir,attrs)void createDirectory(Path dir, FileAttribute[] attrs)
createLinkcreateLink(link,existing)void createLink(Path link, Path existing)
createSymbolicLinkcreateSymbolicLink(link,target,attrs)void createSymbolicLink(Path link, Path target, FileAttribute[] attrs)
deletedelete(path)void delete(Path path)
deleteIfExistsdeleteIfExists(path)boolean deleteIfExists(Path path)
existsexists(path,options)boolean exists(Path path, LinkOption[] options)
getFileAttributeViewgetFileAttributeView(path,type,options)FileAttributeView getFileAttributeView(Path path, Class type, LinkOption[] options)
getFileStoregetFileStore(path)FileStore getFileStore(Path path)
getFileSystemgetFileSystem(uri)FileSystem getFileSystem(URI uri)
getPathgetPath(uri)Path getPath(URI uri)
getSchemegetScheme()String getScheme()
installedProvidersinstalledProviders()static List installedProviders()
isHiddenisHidden(path)boolean isHidden(Path path)
isSameFileisSameFile(path,path2)boolean isSameFile(Path path, Path path2)
movemove(source,target,options)void move(Path source, Path target, CopyOption[] options)
newAsynchronousFileChannelnewAsynchronousFileChannel(path,options,executor,attrs)AsynchronousFileChannel newAsynchronousFileChannel(Path path, Set options, ExecutorService executor, FileAttribute[] attrs)
newByteChannelnewByteChannel(path,options,attrs)SeekableByteChannel newByteChannel(Path path, Set options, FileAttribute[] attrs)
newDirectoryStreamnewDirectoryStream(dir,filter)DirectoryStream newDirectoryStream(Path dir, Filter filter)
newFileChannelnewFileChannel(path,options,attrs)FileChannel newFileChannel(Path path, Set options, FileAttribute[] attrs)
newFileSystemnewFileSystem(uri,env)FileSystem newFileSystem(URI uri, Map env)
FileSystem newFileSystem(Path path, Map env)
newInputStreamnewInputStream(path,options)InputStream newInputStream(Path path, OpenOption[] options)
newOutputStreamnewOutputStream(path,options)OutputStream newOutputStream(Path path, OpenOption[] options)
readAttributesreadAttributes(path,type,options)BasicFileAttributes readAttributes(Path path, Class type, LinkOption[] options)
Map readAttributes(Path path, String attributes, LinkOption[] options)
readAttributesIfExistsreadAttributesIfExists(path,type,options)BasicFileAttributes readAttributesIfExists(Path path, Class type, LinkOption[] options)
readSymbolicLinkreadSymbolicLink(link)Path readSymbolicLink(Path link)
setAttributesetAttribute(path,attribute,value,options)void setAttribute(Path path, String attribute, Object value, LinkOption[] options)

The methods and fields of Object are inherited.

FileTypeDetector#

abstract · extends Object · java.nio.file.spi.FileTypeDetector

Methods

MethodRing callJava overloads
probeContentTypeprobeContentType(path)String probeContentType(Path path)

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.