|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.accpac.ExportToURL
public class ExportToURL
This is a helper class designed to export a given input stream to disk. It also returns a url that the caller can use to obtain the exported data.
Method Summary | |
---|---|
static java.lang.String |
export(ApplicationContext applicationContext,
AccpacResourceContext resourceContext,
SDataRequest request,
java.io.InputStream dataStream,
java.lang.String filename)
Exports the given stream to a file and returns a url for the user to access the export. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String export(ApplicationContext applicationContext, AccpacResourceContext resourceContext, SDataRequest request, java.io.InputStream dataStream, java.lang.String filename)
applicationContext
- the caller's ApplicationContext
.resourceContext
- the caller's AccpacResourceContext
.request
- the caller's SDataRequest
dataStream
- the data to be exportedfilename
- the filename to be exported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |