public class SimpleResource extends NutResource
限定符和类型 | 字段和说明 |
---|---|
protected InputStream |
ins |
name, priority, source
构造器和说明 |
---|
SimpleResource() |
SimpleResource(String name,
String source,
InputStream ins) |
限定符和类型 | 方法和说明 |
---|---|
InputStream |
getInputStream()
使用完毕后,务必关闭
|
void |
setInputStream(InputStream ins) |
compareTo, equals, getName, getPriority, getReader, getSource, hashCode, setName, setPriority, setSource, toString
protected InputStream ins
public SimpleResource()
public SimpleResource(String name, String source, InputStream ins)
public InputStream getInputStream() throws IOException
NutResource
getInputStream
在类中 NutResource
IOException
public void setInputStream(InputStream ins)
Copyright © 2017. All rights reserved.