@Override public List<ParameterType> getParameterTypes() { List<ParameterType> types = new LinkedList<ParameterType>(); types.add( new ParameterTypeFile(PARAMETER_DATA_FILE, "The path to the data file.", "arff", false)); types.addAll(super.getParameterTypes()); types.addAll(StrictDecimalFormat.getParameterTypes(this)); return types; }
@Override public List<ParameterType> getParameterTypes() { List<ParameterType> types = new LinkedList<ParameterType>(); types.add( FileInputPortHandler.makeFileParameterType( this, PARAMETER_DATA_FILE, "Name of the Arff file to read the data from.", "arff", new PortProvider() { @Override public Port getPort() { return fileInputPort; } })); types.addAll(super.getParameterTypes()); types.addAll(StrictDecimalFormat.getParameterTypes(this)); return types; }