com.google.sitebricks
Annotation Type Export


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Export

TODO Maybe deprecate this and force resources to be explicitly bound.

Mark classes with this to configure loading static resource from that class's neighborhood (i.e. using Class.getResourceAsStream). Example:

 @Export(at="/my.js", resource="my.js")
 public class MyWebPage { .. }

Author:
Dhanji R. Prasanna (dhanji@gmail com)

Required Element Summary
 String at
           
 String resource
           
 

Element Detail

at

public abstract String at

resource

public abstract String resource


Copyright © 2014. All rights reserved.