com.atlassian.plugin.webresource
Interface ResourceContentAnnotator


public interface ResourceContentAnnotator

Implemented by classes that want to annotate the write of a plugin resource.


Method Summary
 void after(OutputStream stream)
          Called after the resource content is written.
 void before(OutputStream stream)
          Called before the resource content is written.
 

Method Detail

before

void before(OutputStream stream)
            throws IOException
Called before the resource content is written.

Parameters:
stream -
Throws:
IOException - if there is a problem writing the annotation.

after

void after(OutputStream stream)
           throws IOException
Called after the resource content is written.

Parameters:
stream -
Throws:
IOException - if there is a problem writing the annotation.


Copyright © 2012 Atlassian. All Rights Reserved.