| |
|
| org.pentaho.core.repository.IContentItemFile
All known Subclasses: org.pentaho.repository.content.ContentItemFile,
IContentItemFile | public interface IContentItemFile (Code) | | There is no access to this class outside of this package.
|
copyToFile | public long copyToFile(String newFileName) throws ContentException(Code) | | Copies the latest file to another location
Parameters: newFileName - File name to copy to. Must be fully qualified. Number of bytes copied throws: ContentException - |
deleteOsFile | public boolean deleteOsFile()(Code) | | Deletes the file in the Operating System
Success indicator |
getActionName | public String getActionName()(Code) | | The action name that created this file |
getFileDateTime | public Date getFileDateTime()(Code) | | The file date/time |
getFileSize | public long getFileSize()(Code) | | The file size |
getOsFileName | public String getOsFileName()(Code) | | The file name on disk. |
getOsPath | public String getOsPath()(Code) | | The path to the file on disk |
getOutputStream | public OutputStream getOutputStream(boolean overWriteOk) throws ContentException(Code) | | Parameters: overWriteOk - Indicates whether overwriting the file on disk is ok.(determined by the write mode of the containing ContentItem). An OutputStream to write to throws: ContentException - |
getOutputStream | public OutputStream getOutputStream(boolean overWriteOk, boolean append) throws ContentException(Code) | | Parameters: overWriteOk - Indicates whether overwriting the file on disk is ok.(determined by the write mode of the containing ContentItem). Parameters: append - Indicates whether to append to the file. An OutputStream to write to throws: ContentException - |
|
|
|