Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## things.thinger.service.httptool
Class ServeFile

    java.lang.Object
      things.thinger.service.httptool.ServeFile

    public class ServeFile

extends java.lang.Object

A serve file.

Version:
  1.0

  Version History

      EPG - Initial - 21 NOV 07

Author:
  Erich P. Gatejen

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

### source

    public java.io.InputStream source

### type

    public java.lang.String type

### length

    public long length

Constructor Detail

### ServeFile

    public ServeFile(java.io.InputStream source,
                     java.lang.String type,
                     long length)

  Constructor.

  Parameters:
    `source` - a stream to the data. You should close after use.
    `type` - the MIME type for the file
    `length` - the length in bytes.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Things.