org.jbpm.formbuilder.server.file
Class MockFileService
java.lang.Object
org.jbpm.formbuilder.server.file.MockFileService
- All Implemented Interfaces:
- FileService
public class MockFileService
- extends Object
- implements FileService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFileService
public MockFileService()
storeFile
public String storeFile(String packageName,
String fileName,
byte[] content)
throws FileException
- Specified by:
storeFile in interface FileService
- Throws:
FileException
deleteFile
public void deleteFile(String packageName,
String fileName)
throws FileException
- Specified by:
deleteFile in interface FileService
- Throws:
FileException
loadFilesByType
public List<String> loadFilesByType(String packageName,
String fileType)
throws FileException
- Specified by:
loadFilesByType in interface FileService
- Throws:
FileException
loadFile
public byte[] loadFile(String packageName,
String fileName)
throws FileException
- Specified by:
loadFile in interface FileService
- Throws:
FileException
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.