public class FileResource extends NutResource
name, priority, source
构造器和说明 |
---|
FileResource(File f) |
FileResource(String base,
File file) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(Object obj) |
File |
getFile() |
InputStream |
getInputStream()
使用完毕后,务必关闭
|
int |
hashCode() |
FileResource |
setFile(File file) |
String |
toString() |
compareTo, getName, getPriority, getReader, getSource, setName, setPriority, setSource
public FileResource(File f)
public File getFile()
public FileResource setFile(File file)
public InputStream getInputStream() throws IOException
NutResource
getInputStream
在类中 NutResource
IOException
public boolean equals(Object obj)
equals
在类中 NutResource
public int hashCode()
hashCode
在类中 NutResource
public String toString()
toString
在类中 NutResource
Copyright © 2017. All rights reserved.