01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.resource;
14:
15: /**
16: * If a {@link org.wings.Resource} implements this interface, then the resource name will be used
17: * as file name by the externalizer.
18: */
19: public interface NamedResource {
20: /**
21: * @return A valid name for this externalized HTTP resource.
22: */
23: String getResourceName();
24: }
|