View Javadoc

1   package def.configuration;
2   
3   /**
4    * This is a sample class used for testing
5    *
6    * @author Maria Odea Ching
7    */
8   public class App
9   {
10      protected String unusedVar1;
11  
12      private int unusedVar2;
13  
14      String unusedvar3;
15  
16      /**
17       * The main method
18       *
19       * @param args  an array of strings that contains the arguments
20       */
21      public static void main( String[] args )
22      {
23          System.out.println( "Sample Application." );
24      }
25  
26      /**
27       * Sample method
28       *
29       * @param str   the value to be displayed
30       */
31      protected void sampleMethod( String str )
32      {
33          try
34          {
35              System.out.println( str );
36          }
37          catch ( Exception e )
38          {
39  
40          }
41      }
42  
43      /**
44       * Test method
45       *
46       * @param unusedParam1
47       * @param unusedParam2
48       */
49      public void testMethod( String unusedParam1, String unusedParam2)
50      {
51          System.out.println( "Test method" );
52      }
53  
54  }