Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.Scalar.FileReaderType Class Reference

Inheritance diagram for kddml.Core.Scalar.FileReaderType:

kddml.Core.Scalar.FileType kddml.Core.Scalar.KDDMLScalarType List of all members.

Public Member Functions

boolean checkValue (String value)
Object convertValue (String value)
byte getType ()

Detailed Description

This class represents an input file reader.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003 - 2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

boolean kddml.Core.Scalar.FileReaderType.checkValue String  value  )  [virtual]
 

Checks if the input value have the right type. Input value is given as java.lang.String. Returns true if the type is correct; returns false otherwise.

Parameters:
value String
Returns:
boolean

Implements kddml.Core.Scalar.KDDMLScalarType.

Object kddml.Core.Scalar.FileReaderType.convertValue String  value  )  [virtual]
 

Returns the value of the input argument as java.lang.Object. This depends on the type of the scalar. E.g. for a list of integer (such as 3, 5, 7), the method returns an int[], such as [3, 5, 7]. Returns null if the input value cannot be converted.

Parameters:
value String the expression representing the scalar (e.g. "3+2", "sunny", "high, low").
Returns:
Object

Implements kddml.Core.Scalar.KDDMLScalarType.

byte kddml.Core.Scalar.FileReaderType.getType  )  [virtual]
 

Returns the type related to this class as value of KDDMLScalarTypeEnum.

Returns:
byte

Implements kddml.Core.Scalar.KDDMLScalarType.


Generated on Thu Feb 23 13:04:46 2006 for kddml by  doxygen 1.4.3