com.vladium.emma.report
Class ReportProperties

java.lang.Object
  extended by com.vladium.emma.report.ReportProperties
All Implemented Interfaces:
IAppErrorCodes

public abstract class ReportProperties
extends java.lang.Object
implements IAppErrorCodes

Author:
Vlad Roubtsov, (C) 2003

Nested Class Summary
static class ReportProperties.ParsedProperties
           
private static class ReportProperties.ReportPropertyMapper
           
 
Field Summary
private static ObjectIntMap COLUMNS
           
private static boolean REMOVE_DUPLICATE_COLUMNS
           
static IProperties.IMapper REPORT_PROPERTY_MAPPER
           
 
Fields inherited from interface com.vladium.emma.IAppErrorCodes
ARGS_IO_FAILURE, CLASS_STAMP_MISMATCH, INSTR_IO_FAILURE, INVALID_COLUMN_NAME, INVALID_PARAMETER_VALUE, MAIN_CLASS_BAD_DELEGATION, MAIN_CLASS_LOAD_FAILURE, MAIN_CLASS_NOT_FOUND, MAIN_METHOD_FAILURE, MAIN_METHOD_NOT_FOUND, OUT_IO_FAILURE, OUT_MKDIR_FAILURE, REPORT_GEN_FAILURE, REPORT_IO_FAILURE, REQUIRED_PARAMETER_MISSING, SECURITY_RESTRICTION, UNEXPECTED_FAILURE
 
Constructor Summary
private ReportProperties()
           
 
Method Summary
private static java.lang.String getReportProperty(IProperties properties, java.lang.String type, java.lang.String key, boolean allowBlank)
           
private static java.lang.String getReportProperty(IProperties properties, java.lang.String type, java.lang.String key, boolean allowBlank, java.lang.String dflt)
           
static ReportProperties.ParsedProperties parseProperties(IProperties properties, java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPORT_PROPERTY_MAPPER

public static final IProperties.IMapper REPORT_PROPERTY_MAPPER

REMOVE_DUPLICATE_COLUMNS

private static final boolean REMOVE_DUPLICATE_COLUMNS
See Also:
Constant Field Values

COLUMNS

private static final ObjectIntMap COLUMNS
Constructor Detail

ReportProperties

private ReportProperties()
Method Detail

parseProperties

public static ReportProperties.ParsedProperties parseProperties(IProperties properties,
                                                                java.lang.String type)

getReportProperty

private static java.lang.String getReportProperty(IProperties properties,
                                                  java.lang.String type,
                                                  java.lang.String key,
                                                  boolean allowBlank)

getReportProperty

private static java.lang.String getReportProperty(IProperties properties,
                                                  java.lang.String type,
                                                  java.lang.String key,
                                                  boolean allowBlank,
                                                  java.lang.String dflt)