org.jbpm.shared.services.api
Interface FileService
- All Known Implementing Classes:
- VFSFileServiceImpl
public interface FileService
init
void init()
throws FileException
- Throws:
FileException
fetchChanges
void fetchChanges()
loadFile
byte[] loadFile(String file)
throws FileException
- Throws:
FileException
loadFile
byte[] loadFile(org.kie.commons.java.nio.file.Path file)
throws FileException
- Throws:
FileException
listDirectories
Iterable<org.kie.commons.java.nio.file.Path> listDirectories(String path)
loadFilesByType
Iterable<org.kie.commons.java.nio.file.Path> loadFilesByType(String path,
String fileType)
throws FileException
- Throws:
FileException
exists
boolean exists(org.kie.commons.java.nio.file.Path file)
exists
boolean exists(String file)
move
void move(String source,
String dest)
copy
void copy(String source,
String dest)
createDirectory
org.kie.commons.java.nio.file.Path createDirectory(String path)
createFile
org.kie.commons.java.nio.file.Path createFile(String path)
deleteIfExists
boolean deleteIfExists(String path)
openFile
OutputStream openFile(String path)
getRepositoryRoot
String getRepositoryRoot()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.