public interface VFSService
| Modifier and Type | Method and Description |
|---|---|
Path |
copy(Path source,
Path target) |
Path |
createDirectories(Path dir) |
Path |
createDirectories(Path dir,
Map<String,?> attrs) |
Path |
createDirectory(Path dir) |
Path |
createDirectory(Path dir,
Map<String,?> attrs) |
void |
delete(Path path) |
boolean |
deleteIfExists(Path path) |
Path |
get(String uri) |
boolean |
isDirectory(Path path) |
boolean |
isDirectory(String uri) |
boolean |
isRegularFile(Path path) |
boolean |
isRegularFile(String uri) |
Path |
move(Path source,
Path target) |
DirectoryStream<Path> |
newDirectoryStream(Path dir) |
DirectoryStream<Path> |
newDirectoryStream(Path dir,
DirectoryStream.Filter<Path> filter) |
String |
readAllString(Path path) |
Map<String,Object> |
readAttributes(Path path) |
void |
setAttributes(Path path,
Map<String,Object> attrs) |
Path |
write(Path path,
String content) |
Path |
write(Path path,
String content,
Map<String,?> attrs) |
DirectoryStream<Path> newDirectoryStream(Path dir) throws IllegalArgumentException, org.uberfire.java.nio.file.NotDirectoryException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionorg.uberfire.java.nio.file.NotDirectoryExceptionorg.uberfire.java.nio.IOExceptionDirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<Path> filter) throws IllegalArgumentException, org.uberfire.java.nio.file.NotDirectoryException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionorg.uberfire.java.nio.file.NotDirectoryExceptionorg.uberfire.java.nio.IOExceptionPath createDirectory(Path dir) throws IllegalArgumentException, UnsupportedOperationException, org.uberfire.java.nio.file.FileAlreadyExistsException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionUnsupportedOperationExceptionorg.uberfire.java.nio.file.FileAlreadyExistsExceptionorg.uberfire.java.nio.IOExceptionPath createDirectories(Path dir) throws UnsupportedOperationException, org.uberfire.java.nio.file.FileAlreadyExistsException, org.uberfire.java.nio.IOException
UnsupportedOperationExceptionorg.uberfire.java.nio.file.FileAlreadyExistsExceptionorg.uberfire.java.nio.IOExceptionPath createDirectory(Path dir, Map<String,?> attrs) throws IllegalArgumentException, UnsupportedOperationException, org.uberfire.java.nio.file.FileAlreadyExistsException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionUnsupportedOperationExceptionorg.uberfire.java.nio.file.FileAlreadyExistsExceptionorg.uberfire.java.nio.IOExceptionPath createDirectories(Path dir, Map<String,?> attrs) throws UnsupportedOperationException, org.uberfire.java.nio.file.FileAlreadyExistsException, org.uberfire.java.nio.IOException
UnsupportedOperationExceptionorg.uberfire.java.nio.file.FileAlreadyExistsExceptionorg.uberfire.java.nio.IOException@InterceptedCall(value=VFSCacheInterceptor.class) Map<String,Object> readAttributes(Path path) throws UnsupportedOperationException, IllegalArgumentException, org.uberfire.java.nio.IOException
UnsupportedOperationExceptionIllegalArgumentExceptionorg.uberfire.java.nio.IOExceptionvoid setAttributes(Path path, Map<String,Object> attrs) throws IllegalArgumentException, org.uberfire.java.nio.file.FileSystemAlreadyExistsException, org.uberfire.java.nio.file.ProviderNotFoundException
IllegalArgumentExceptionorg.uberfire.java.nio.file.FileSystemAlreadyExistsExceptionorg.uberfire.java.nio.file.ProviderNotFoundExceptionvoid delete(Path path) throws IllegalArgumentException, org.uberfire.java.nio.file.NoSuchFileException, org.uberfire.java.nio.file.DirectoryNotEmptyException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionorg.uberfire.java.nio.file.NoSuchFileExceptionorg.uberfire.java.nio.file.DirectoryNotEmptyExceptionorg.uberfire.java.nio.IOExceptionboolean deleteIfExists(Path path) throws IllegalArgumentException, org.uberfire.java.nio.file.DirectoryNotEmptyException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionorg.uberfire.java.nio.file.DirectoryNotEmptyExceptionorg.uberfire.java.nio.IOExceptionPath copy(Path source, Path target) throws UnsupportedOperationException, org.uberfire.java.nio.file.FileAlreadyExistsException, org.uberfire.java.nio.file.DirectoryNotEmptyException, org.uberfire.java.nio.IOException
UnsupportedOperationExceptionorg.uberfire.java.nio.file.FileAlreadyExistsExceptionorg.uberfire.java.nio.file.DirectoryNotEmptyExceptionorg.uberfire.java.nio.IOExceptionPath move(Path source, Path target) throws UnsupportedOperationException, org.uberfire.java.nio.file.FileAlreadyExistsException, org.uberfire.java.nio.file.DirectoryNotEmptyException, org.uberfire.java.nio.file.AtomicMoveNotSupportedException, org.uberfire.java.nio.IOException
UnsupportedOperationExceptionorg.uberfire.java.nio.file.FileAlreadyExistsExceptionorg.uberfire.java.nio.file.DirectoryNotEmptyExceptionorg.uberfire.java.nio.file.AtomicMoveNotSupportedExceptionorg.uberfire.java.nio.IOExceptionString readAllString(Path path) throws IllegalArgumentException, org.uberfire.java.nio.file.NoSuchFileException, org.uberfire.java.nio.IOException
IllegalArgumentExceptionorg.uberfire.java.nio.file.NoSuchFileExceptionorg.uberfire.java.nio.IOExceptionPath write(Path path, String content) throws IllegalArgumentException, org.uberfire.java.nio.IOException, UnsupportedOperationException
IllegalArgumentExceptionorg.uberfire.java.nio.IOExceptionUnsupportedOperationExceptionPath write(Path path, String content, Map<String,?> attrs) throws IllegalArgumentException, org.uberfire.java.nio.IOException, UnsupportedOperationException
IllegalArgumentExceptionorg.uberfire.java.nio.IOExceptionUnsupportedOperationExceptionboolean isRegularFile(String uri)
boolean isRegularFile(Path path)
boolean isDirectory(String uri)
boolean isDirectory(Path path)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.