Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/sample/jsp/data/OsmTestDataDescriptor.java


1   /*
2    * OsmTestDataDescriptor.java
3    *
4    * Copyright (c) 2001, 2002 Aendvari, Ltd. All Rights Reserved.
5    *
6    */
7   
8   package com.sample.jsp.data;
9   
10  import com.aendvari.common.util.ResourceLoader;
11  
12  
13  /**
14   * <p>This is an extended version of the {@link ResourceLoader} class to allow access to the OSM resources.</p>
15   *
16   * @author  Scott Milne
17   *
18   */
19  
20  public class OsmTestDataDescriptor extends ResourceLoader
21  {
22    private static final String resourceFile = "OsmTestData.xml";
23  
24    /**
25     * This method simply returns the name of the xml file to use for the descriptor.
26     *
27     * @return                The name of the xml resource file.
28     *
29     */
30  
31    protected String getResourceName()
32    {
33      return resourceFile;
34    }
35  }
36