01: /**
02: * Objective Database Abstraction Layer (ODAL)
03: * Copyright (c) 2004, The ODAL Development Group
04: * All rights reserved.
05: * For definition of the ODAL Development Group please refer to LICENCE.txt file
06: *
07: * Distributable under LGPL license.
08: * See terms of license at gnu.org.
09: */package com.completex.objective.util.cmd;
10:
11: /**
12: * @author Gennady Krizhevsky
13: */
14: class FlagArg extends AbstractArg {
15:
16: protected FlagArg(String name, boolean value) {
17: super (name, Boolean.valueOf(value));
18: }
19:
20: protected int initialize(String args[], int index) {
21: setInitialized(true);
22: return index;
23: }
24: }
|