com.arsdigita.util.csv
Class CSVParameterLoader

java.lang.Object
  extended bycom.arsdigita.util.csv.CSVParameterLoader
All Implemented Interfaces:
ParameterLoader, ParameterReader

public final class CSVParameterLoader
extends Object
implements ParameterLoader

Subject to change.

Version:
$Id: //core-platform/dev/src/com/arsdigita/util/csv/CSVParameterLoader.java#5 $
Author:
Justin Ross <jross@redhat.com>

Field Summary
static String versionId
           
 
Constructor Summary
CSVParameterLoader(Reader reader, Parameter[] params)
           
 
Method Summary
 ParameterValue load(Parameter param)
           
 boolean next()
           
 String read(Parameter param, ErrorList errors)
          Reads an encoded String value for param from storage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

CSVParameterLoader

public CSVParameterLoader(Reader reader,
                          Parameter[] params)
Method Detail

read

public final String read(Parameter param,
                         ErrorList errors)
Description copied from interface: ParameterReader
Reads an encoded String value for param from storage. If there are errors, they are added to errors.

Specified by:
read in interface ParameterReader
Parameters:
param - The Parameter being read; it cannot be null
errors - The ErrorList that will collect any errors; it cannot be null
Returns:
The marshaled String value for param; it may be null

load

public final ParameterValue load(Parameter param)
Specified by:
load in interface ParameterLoader

next

public final boolean next()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC