writeFile
public void writeFile(String pathId,
InputStream fileContents,
Boolean overwriteFile)
throws PlatformImportException,
org.pentaho.platform.api.engine.PentahoAccessControlException
Publishes the file to the provided path in the repository. The file will be overwritten if the overwrite flag
is set to true
- Parameters:
pathId
- (colon separated path for the repository file)
:path:to:file:id
fileContents
- (input stream containing the data)overwriteFile
- (flag to determine whether to overwrite the existing file in the repository or not)
true
- Throws:
PlatformImportException
org.pentaho.platform.api.engine.PentahoAccessControlException