Subversion Repositories SmartDukaan

Rev

Rev 6025 | Rev 6192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6025 Rev 6187
Line 104... Line 104...
104
    /**
104
    /**
105
     * @param args
105
     * @param args
106
     * @throws Exception
106
     * @throws Exception
107
     */
107
     */
108
    public static void main(String[] args) throws Exception {
108
    public static void main(String[] args) throws Exception {
109
        ContentGenerationUtility cgu = new ContentGenerationUtility();
109
        Client cc = new CatalogClient().getClient();
110
 
-
 
111
        // Load arguments
-
 
112
        cgu.loadArgs(args);
110
        System.out.println(cc.getVatAmountForItem(9l, 500l));
113
 
-
 
114
        // Call method based on arguments
111
        System.out.println(cc.getItem(10l).getSellingPrice());
115
        cgu.callMethod();
112
        System.out.println(cc.getVatPercentageForItem(9l, 500l));
116
    }
113
    }
117
 
114
 
118
    /**
115
    /**
119
     * Validate and set command line arguments. Exit after printing usage if
116
     * Validate and set command line arguments. Exit after printing usage if
120
     * anything is astray
117
     * anything is astray