|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResponseFactory
| Method Summary | |
|---|---|
Response |
createFromStream(InputStream is)
Factory method for instantiating individual responses from an InputStream instance. |
Response |
createResponse(FileDesc fd)
Constructs a new Response instance from the data in the specified FileDesc. |
Response |
createResponse(long index,
long size,
String name,
LimeXMLDocument doc,
URN urn)
Creates a new response with parsed metadata. |
Response |
createResponse(long index,
long size,
String name,
URN urn)
Creates a fresh new response. |
| Method Detail |
|---|
Response createResponse(long index,
long size,
String name,
URN urn)
Response createResponse(long index,
long size,
String name,
LimeXMLDocument doc,
URN urn)
doc - the metadata to includeResponse createResponse(FileDesc fd)
fd - the FileDesc containing the data to construct this
Response -- must not be null
Response createFromStream(InputStream is)
throws IOException
is - the InputStream to read from
IOException - if there are any problems reading from or
writing to the stream
IOException
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||