org.hd.d.pg2k.svrCore
Class ExhibitAttrUtils

java.lang.Object
  extended by org.hd.d.pg2k.svrCore.ExhibitAttrUtils

public final class ExhibitAttrUtils
extends java.lang.Object

Basic utilities for retrieving and handling exhibit attribute/discardable words.


Nested Class Summary
static class ExhibitAttrUtils.ExhibitAttrWords
          This class contains exhibit attribute words.
 
Field Summary
static java.lang.String ATTR_WORD_LIST_NAME
          Name of attribute words list in global properties.
private static ExhibitAttrUtils.ExhibitAttrWords attrWords
          Immutable set of exhibit attribute words, comparators, etc; never null.
 
Constructor Summary
private ExhibitAttrUtils()
          Prevent instantiation.
 
Method Summary
private static java.lang.String[] _getAttributeWords()
          Gets unsorted list of attribute words from global properties; never null.
static ExhibitAttrUtils.ExhibitAttrWords getAttrWords()
          Gets (immutable) set of exhibit attribute words, comparators, etc; never null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_WORD_LIST_NAME

public static final java.lang.String ATTR_WORD_LIST_NAME
Name of attribute words list in global properties.

See Also:
Constant Field Values

attrWords

private static final ExhibitAttrUtils.ExhibitAttrWords attrWords
Immutable set of exhibit attribute words, comparators, etc; never null.

Constructor Detail

ExhibitAttrUtils

private ExhibitAttrUtils()
Prevent instantiation.

Method Detail

_getAttributeWords

private static java.lang.String[] _getAttributeWords()
Gets unsorted list of attribute words from global properties; never null. This returns a list of valid unduplicated attribute words, with any problems found being reported on System.err.

This may return an empty list but not a null.


getAttrWords

public static final ExhibitAttrUtils.ExhibitAttrWords getAttrWords()
Gets (immutable) set of exhibit attribute words, comparators, etc; never null.


DHD Multimedia Gallery V1.50.55

Copyright (c) 1996-2008, Damon Hart-Davis. All rights reserved.