com.atlassian.confluence.importexport.resource
Interface DownloadResourceWriter

All Known Implementing Classes:
FileDownloadResourceWriter

public interface DownloadResourceWriter


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

Method Detail

getResourcePath

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

Returns:
the relative URL of the resource

getStreamForWriting

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-2012 Atlassian. All Rights Reserved.