com.atlassian.confluence.importexport.resource
Interface DownloadResourceWriter

All Known Implementing Classes:
FileDownloadResourceWriter

public interface DownloadResourceWriter


Method Summary
 java.lang.String getResourcePath()
          The relative URL of the resource, including the application context path.
 java.io.OutputStream getStreamForWriting()
          The output stream for writing the resource.
 

Method Detail

getResourcePath

java.lang.String getResourcePath()
The relative URL of the resource, including the application context path.

Returns:
the relative URL of the resource

getStreamForWriting

java.io.OutputStream getStreamForWriting()
The output stream for writing the resource. The client is responsible for closing the returned stream in a finally block.

Returns:
OutputStream for writing


Copyright © 2003-2014 Atlassian. All Rights Reserved.