public class RepositoryFileInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.platform.api.repository2.unified.RepositoryFile |
file |
protected org.pentaho.platform.api.repository2.unified.data.simple.SimpleRepositoryFileData |
fileData |
protected InputStream |
is |
protected org.pentaho.platform.api.repository2.unified.IUnifiedRepository |
repository |
Constructor and Description |
---|
RepositoryFileInputStream(org.pentaho.platform.api.repository2.unified.RepositoryFile file) |
RepositoryFileInputStream(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
RepositoryFileInputStream(Serializable id) |
RepositoryFileInputStream(Serializable id,
org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
RepositoryFileInputStream(String path) |
RepositoryFileInputStream(String path,
org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile() |
String |
getMimeType() |
org.pentaho.platform.api.repository2.unified.IUnifiedRepository |
getRepository() |
int |
read() |
void |
setRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
protected void |
setStream() |
available, close, mark, markSupported, read, read, reset, skip
protected InputStream is
protected org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository
protected org.pentaho.platform.api.repository2.unified.RepositoryFile file
protected org.pentaho.platform.api.repository2.unified.data.simple.SimpleRepositoryFileData fileData
public RepositoryFileInputStream(String path) throws FileNotFoundException
FileNotFoundException
public RepositoryFileInputStream(org.pentaho.platform.api.repository2.unified.RepositoryFile file) throws FileNotFoundException
FileNotFoundException
public RepositoryFileInputStream(Serializable id) throws FileNotFoundException
FileNotFoundException
public RepositoryFileInputStream(String path, org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) throws FileNotFoundException
FileNotFoundException
public RepositoryFileInputStream(org.pentaho.platform.api.repository2.unified.RepositoryFile file, org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) throws FileNotFoundException
FileNotFoundException
public RepositoryFileInputStream(Serializable id, org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) throws FileNotFoundException
FileNotFoundException
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile()
protected void setStream() throws FileNotFoundException
FileNotFoundException
public int read() throws IOException
read
in class InputStream
IOException
public String getMimeType()
public org.pentaho.platform.api.repository2.unified.IUnifiedRepository getRepository()
public void setRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
Copyright © 2019 Hitachi Vantara. All rights reserved.