|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.service.httptool.ServeFile
public class ServeFile
A serve file.
Version History
EPG - Initial - 21 NOV 07
Field Summary | |
---|---|
long |
length
|
java.io.InputStream |
source
|
java.lang.String |
type
|
Constructor Summary | |
---|---|
ServeFile(java.io.InputStream source,
java.lang.String type,
long length)
Constructor. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.io.InputStream source
public java.lang.String type
public long length
Constructor Detail |
---|
public ServeFile(java.io.InputStream source, java.lang.String type, long length)
source
- a stream to the data. You should close after use.type
- the MIME type for the filelength
- the length in bytes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |