| 1 | /* |
| 2 | * Copyright 2005-2006 The RbUtils Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | // $Id: RbCheckerCli.java,v 1.1 2008/02/04 18:31:21 redfish4ktc Exp $ |
| 19 | |
| 20 | package org.ktc.rbutils.rb.check; |
| 21 | |
| 22 | import java.io.PrintWriter; |
| 23 | |
| 24 | /** |
| 25 | * Command line utility to be called for ResourceBundle check (see project documentation for cli |
| 26 | * options). |
| 27 | * @since RbUtils 0.11 |
| 28 | * @version $Revision: 1.1 $ |
| 29 | * @author redfish4ktc |
| 30 | */ |
| 31 | public final class RbCheckerCli { |
| 32 | |
| 33 | /** |
| 34 | * Creates a new instance of RbCheckerCli. Should not be called. |
| 35 | */ |
| 36 | private RbCheckerCli() { |
| 37 | // Do nothing |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Launches the check of source files found in a directory. |
| 42 | * @param args the arguments to be passed to the utility. |
| 43 | */ |
| 44 | public static void main(final String[] args) { |
| 45 | final int exitValue = RbCheckerUtility.mainNoExit(args, new PrintWriter(System.out)); |
| 46 | System.exit(exitValue); |
| 47 | } |
| 48 | |
| 49 | } |