public final class VertxFileSystem extends Object implements org.graalvm.polyglot.io.FileSystem
| Constructor and Description |
|---|
VertxFileSystem(io.vertx.core.Vertx vertx) |
public static String getCWD()
public Path parsePath(URI uri)
parsePath in interface org.graalvm.polyglot.io.FileSystempublic Path parsePath(String path)
parsePath in interface org.graalvm.polyglot.io.FileSystempublic void checkAccess(Path path, Set<? extends AccessMode> modes, LinkOption... linkOptions) throws IOException
checkAccess in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
createDirectory in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void delete(Path path) throws IOException
delete in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void copy(Path source, Path target, CopyOption... options) throws IOException
copy in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void move(Path source, Path target, CopyOption... options) throws IOException
move in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newByteChannel in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException
newDirectoryStream in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void createLink(Path link, Path existing) throws IOException
createLink in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void createSymbolicLink(Path link, Path target, FileAttribute<?>... attrs) throws IOException
createSymbolicLink in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic Path readSymbolicLink(Path link) throws IOException
readSymbolicLink in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic Map<String,Object> readAttributes(Path path, String attributes, LinkOption... options) throws IOException
readAttributes in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic void setAttribute(Path path, String attribute, Object value, LinkOption... options) throws IOException
setAttribute in interface org.graalvm.polyglot.io.FileSystemIOExceptionpublic Path toAbsolutePath(Path path)
toAbsolutePath in interface org.graalvm.polyglot.io.FileSystempublic void setCurrentWorkingDirectory(Path currentWorkingDirectory)
setCurrentWorkingDirectory in interface org.graalvm.polyglot.io.FileSystempublic Path toRealPath(Path path, LinkOption... linkOptions) throws IOException
toRealPath in interface org.graalvm.polyglot.io.FileSystemIOExceptionCopyright © 2019. All rights reserved.