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)
at
public abstract String at
resource
public abstract String resource
Copyright © 2014. All rights reserved.