org.jbpm.shared.services.api
public interface FileService
Modifier and Type | Method and Description |
---|---|
void |
copy(org.kie.commons.java.nio.file.Path source,
org.kie.commons.java.nio.file.Path dest) |
org.kie.commons.java.nio.file.Path |
createDirectory(org.kie.commons.java.nio.file.Path path) |
org.kie.commons.java.nio.file.Path |
createFile(org.kie.commons.java.nio.file.Path path) |
boolean |
deleteIfExists(org.kie.commons.java.nio.file.Path path) |
boolean |
exists(org.kie.commons.java.nio.file.Path file) |
void |
fetchChanges() |
org.kie.commons.java.nio.file.Path |
getPath(String path) |
void |
init() |
Iterable<org.kie.commons.java.nio.file.Path> |
listDirectories(org.kie.commons.java.nio.file.Path path) |
byte[] |
loadFile(org.kie.commons.java.nio.file.Path file) |
Iterable<org.kie.commons.java.nio.file.Path> |
loadFilesByType(org.kie.commons.java.nio.file.Path path,
String fileType) |
void |
move(org.kie.commons.java.nio.file.Path source,
org.kie.commons.java.nio.file.Path dest) |
OutputStream |
openFile(org.kie.commons.java.nio.file.Path path) |
void init() throws FileException
FileException
void fetchChanges()
byte[] loadFile(org.kie.commons.java.nio.file.Path file) throws FileException
FileException
Iterable<org.kie.commons.java.nio.file.Path> listDirectories(org.kie.commons.java.nio.file.Path path)
Iterable<org.kie.commons.java.nio.file.Path> loadFilesByType(org.kie.commons.java.nio.file.Path path, String fileType) throws FileException
FileException
boolean exists(org.kie.commons.java.nio.file.Path file)
void move(org.kie.commons.java.nio.file.Path source, org.kie.commons.java.nio.file.Path dest)
void copy(org.kie.commons.java.nio.file.Path source, org.kie.commons.java.nio.file.Path dest)
org.kie.commons.java.nio.file.Path createDirectory(org.kie.commons.java.nio.file.Path path)
org.kie.commons.java.nio.file.Path createFile(org.kie.commons.java.nio.file.Path path)
boolean deleteIfExists(org.kie.commons.java.nio.file.Path path)
OutputStream openFile(org.kie.commons.java.nio.file.Path path)
org.kie.commons.java.nio.file.Path getPath(String path)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.