|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.importexport.resource.FileDownloadResourceWriter
public class FileDownloadResourceWriter
Constructor Summary | |
---|---|
FileDownloadResourceWriter(java.lang.String resourcePath,
java.io.File file)
|
Method Summary | |
---|---|
java.lang.String |
getResourcePath()
The relative URL of the resource, including the application context path. |
java.io.OutputStream |
getStreamForWriting()
Opens and returns a new output stream for writing the resource to a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileDownloadResourceWriter(java.lang.String resourcePath, java.io.File file)
resourcePath
- the relative URL of resource including the application's context path. For example,
"/confluence/download/temp/chart1274.png".file
- the file the writer will open the output stream toMethod Detail |
---|
public java.lang.String getResourcePath()
DownloadResourceWriter
getResourcePath
in interface DownloadResourceWriter
public java.io.OutputStream getStreamForWriting()
getStreamForWriting
in interface DownloadResourceWriter
OutputStream
for writing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |