com.codetaco.argument.variables.NullAssigner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of argument Show documentation
Show all versions of argument Show documentation
A command line parser for Java
package com.codetaco.argument.variables;
import java.text.ParseException;
import com.codetaco.argument.type.CmdLineCLA;
import com.codetaco.argument.type.ICmdLineArg;
/**
* This class is intended to be distributed with the free android app. It will
* be completely functional except for the assigned of the command line values
* to variables. Nothing gets assigned. When the user pays for the app, the jar
* with the real variable assigned will be in it.
*
* @author Chris DeGreef [email protected]
*/
public class NullAssigner implements IVariableAssigner
{
/** {@inheritDoc} */
@Override
public void assign(final ICmdLineArg> arg, final Object target) throws ParseException
{
// intentionally left blank
}
/** {@inheritDoc} */
@Override
public Object newGroupVariable(final CmdLineCLA group, final Object target, final ICmdLineArg> factoryValueArg)
throws ParseException
{
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy