public class FileObjectContentItem extends FileObjectContentEntity implements org.pentaho.reporting.libraries.repository.ContentItem
| 构造器和说明 |
|---|
FileObjectContentItem(org.pentaho.reporting.libraries.repository.ContentLocation parent,
org.apache.commons.vfs2.FileObject backend)
Creates a new file based content item for the given file and parent location.
|
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
getInputStream() |
String |
getMimeType() |
OutputStream |
getOutputStream() |
boolean |
isReadable() |
boolean |
isWriteable() |
delete, getAttribute, getBackend, getContentId, getName, getParent, getRepository, setAttributepublic FileObjectContentItem(org.pentaho.reporting.libraries.repository.ContentLocation parent,
org.apache.commons.vfs2.FileObject backend)
parent - the parent.backend - the backend.public String getMimeType() throws org.pentaho.reporting.libraries.repository.ContentIOException
getMimeType 在接口中 org.pentaho.reporting.libraries.repository.ContentItemorg.pentaho.reporting.libraries.repository.ContentIOExceptionpublic OutputStream getOutputStream() throws org.pentaho.reporting.libraries.repository.ContentIOException, IOException
getOutputStream 在接口中 org.pentaho.reporting.libraries.repository.ContentItemorg.pentaho.reporting.libraries.repository.ContentIOExceptionIOExceptionpublic InputStream getInputStream() throws org.pentaho.reporting.libraries.repository.ContentIOException, IOException
getInputStream 在接口中 org.pentaho.reporting.libraries.repository.ContentItemorg.pentaho.reporting.libraries.repository.ContentIOExceptionIOExceptionpublic boolean isReadable()
isReadable 在接口中 org.pentaho.reporting.libraries.repository.ContentItempublic boolean isWriteable()
isWriteable 在接口中 org.pentaho.reporting.libraries.repository.ContentItemCopyright © 2024 Hitachi Vantara. All rights reserved.