Interface ImportSource.IRepositoryFileBundle
-
- All Known Implementing Classes:
RepositoryFileBundle
- Enclosing interface:
- ImportSource
public static interface ImportSource.IRepositoryFileBundle
A struct-like object for bundling related objects together.- Author:
- mlowery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.pentaho.platform.api.repository2.unified.RepositoryFileAcl
getAcl()
String
getCharset()
Null for folders or binary types.org.pentaho.platform.api.repository2.unified.RepositoryFile
getFile()
InputStream
getInputStream()
Gets the stream (if !getFile().isFolder()).String
getMimeType()
String
getPath()
Path to file.void
setPath(String path)
-
-
-
Method Detail
-
getFile
org.pentaho.platform.api.repository2.unified.RepositoryFile getFile()
-
getAcl
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl getAcl()
-
getInputStream
InputStream getInputStream() throws IOException
Gets the stream (if !getFile().isFolder()).- Throws:
IOException
-
getPath
String getPath()
Path to file. Will be appended to destination folder path to create absolute path.
-
setPath
void setPath(String path)
-
getCharset
String getCharset()
Null for folders or binary types.
-
getMimeType
String getMimeType()
-
-