本文整理了Java中org.jbundle.model.Task.getInputStream()
方法的一些代码示例,展示了Task.getInputStream()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Task.getInputStream()
方法的具体详情如下:
包路径:org.jbundle.model.Task
类名称:Task
方法名:getInputStream
暂无
代码示例来源:origin: org.jbundle.base.screen/org.jbundle.base.screen.view.html
InputStream streamIn = this.getTask().getInputStream(strXml);
this.parseStreamPrintHtml(out, streamIn);
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* A utility method to get an Input stream from a filename or URL string.
* @param strFilename The filename or url to open as an Input Stream.
* @return The imput stream (or null if there was an error).
*/
public InputStream getInputStream(String strFilename)
{
InputStream inStream = Utility.getInputStream(strFilename, this.getApplication());
if (inStream == null)
if (this.getParentSession() != null)
{
Task task = this.getParentSession().getTask();
if ((task != null) && (task != this))
inStream = task.getInputStream(strFilename);
}
return inStream;
}
/**
代码示例来源:origin: org.jbundle.base.screen/org.jbundle.base.screen.view.html
if (strFilename != null)
InputStream streamIn = this.getScreenField().getParentScreen().getTask().getInputStream(strFilename);
strXMLData = Utility.transferURLStream(null, null, new InputStreamReader(streamIn));
代码示例来源:origin: org.jbundle.base/org.jbundle.base
InputStream inputStream = task.getInputStream(filename);
inputStream = task.getInputStream(filename);
bSuccess = xml.importXML(table, filename, inputStream);
inputStream = task.getInputStream(defaultFilename);
bSuccess = xml.importXML(table, defaultFilename, inputStream);
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
if (Utility.getRecordOwner(this.getRecord()) != null)
if (Utility.getRecordOwner(this.getRecord()).getTask() != null)
inputStream = Utility.getRecordOwner(this.getRecord()).getTask().getInputStream(strFilename);
org.jbundle.base.db.xmlutil.XmlInOut xml = new org.jbundle.base.db.xmlutil.XmlInOut(null, null, null);
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
if (Utility.getRecordOwner(this.getRecord()) != null)
if (Utility.getRecordOwner(this.getRecord()).getTask() != null)
inputStream = Utility.getRecordOwner(this.getRecord()).getTask().getInputStream(strFilename);
org.jbundle.base.db.xmlutil.XmlInOut xml = new org.jbundle.base.db.xmlutil.XmlInOut(null, null, null);
内容来源于网络,如有侵权,请联系作者删除!