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, NotDirectoryException, IOException
DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<Path> filter) throws IllegalArgumentException, NotDirectoryException, IOException
Path createDirectory(Path dir) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, IOException
Path createDirectories(Path dir) throws UnsupportedOperationException, FileAlreadyExistsException, IOException
Path createDirectory(Path dir, Map<String,?> attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, IOException
Path createDirectories(Path dir, Map<String,?> attrs) throws UnsupportedOperationException, FileAlreadyExistsException, IOException
@InterceptedCall(value=VFSCacheInterceptor.class) Map<String,Object> readAttributes(Path path) throws UnsupportedOperationException, IllegalArgumentException, IOException
void setAttributes(Path path, Map<String,Object> attrs) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException
void delete(Path path) throws IllegalArgumentException, NoSuchFileException, DirectoryNotEmptyException, IOException
boolean deleteIfExists(Path path) throws IllegalArgumentException, DirectoryNotEmptyException, IOException
Path copy(Path source, Path target) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, IOException
Path move(Path source, Path target) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, AtomicMoveNotSupportedException, IOException
String readAllString(Path path) throws IllegalArgumentException, NoSuchFileException, IOException
Path write(Path path, String content) throws IllegalArgumentException, IOException, UnsupportedOperationException
Path write(Path path, String content, Map<String,?> attrs) throws IllegalArgumentException, IOException, UnsupportedOperationException
boolean isRegularFile(String uri)
boolean isRegularFile(Path path)
boolean isDirectory(String uri)
boolean isDirectory(Path path)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.