wt.tools.resource
Class MetadataResourceBuilder

java.lang.Object
  extended bywt.tools.resource.MetadataResourceBuilder
All Implemented Interfaces:
ResourceBuilder

public class MetadataResourceBuilder
extends Object
implements ResourceBuilder



Supported API: false

Extendable: false


Field Summary
(package private)  ResourceBuilder builder
           
private static String CLASSNAME
           
private  String extendClass
           
private static String RESOURCE
           
 
Fields inherited from interface wt.tools.resource.ResourceBuilder
ALLOW_EMPTY_BUNDLE
 
Constructor Summary
MetadataResourceBuilder()
           
 
Method Summary
 void buildResource(Dictionary keyValues, Dictionary constants, String name, Locale locale)
          

Supported API: false
private  boolean convertValues(Dictionary keyValues)
           
private  ResourceBuilder getBuilder()
           
 String getExtendClass()
          Gets the value of the attribute: extendClass; The name of the class that the runtime built resource will extend.
 String getFileExtension()
          

Supported API: false
 boolean isChainedToParent()
          

Supported API: false
 void setExtendClass(String a_ExtendClass)
          Sets the value of the attribute: extendClass; The name of the class that the runtime built resource will extend.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

extendClass

private String extendClass

builder

ResourceBuilder builder
Constructor Detail

MetadataResourceBuilder

public MetadataResourceBuilder()
Method Detail

getExtendClass

public String getExtendClass()
Gets the value of the attribute: extendClass; The name of the class that the runtime built resource will extend. If nothing is specified, resource will extend java.util.ListResourceBundle.

Supported API: false

Specified by:
getExtendClass in interface ResourceBuilder
Returns:
String

setExtendClass

public void setExtendClass(String a_ExtendClass)
Sets the value of the attribute: extendClass; The name of the class that the runtime built resource will extend. If nothing is specified, resource will extend java.util.ListResourceBundle.

Supported API: false

Specified by:
setExtendClass in interface ResourceBuilder
Parameters:
a_ExtendClass -

buildResource

public void buildResource(Dictionary keyValues,
                          Dictionary constants,
                          String name,
                          Locale locale)
                   throws WTPropertyVetoException,
                          FileNotFoundException,
                          IOException


Supported API: false

Specified by:
buildResource in interface ResourceBuilder
Parameters:
keyValues -
constants -
name -
locale -
Throws:
WTPropertyVetoException
FileNotFoundException
IOException

getFileExtension

public String getFileExtension()


Supported API: false

Specified by:
getFileExtension in interface ResourceBuilder
Returns:
String

convertValues

private boolean convertValues(Dictionary keyValues)
                       throws WTPropertyVetoException,
                              FileNotFoundException,
                              IOException
Throws:
WTPropertyVetoException
FileNotFoundException
IOException

getBuilder

private ResourceBuilder getBuilder()

isChainedToParent

public boolean isChainedToParent()


Supported API: false

Specified by:
isChainedToParent in interface ResourceBuilder
Returns:
boolean true if parent bundles are loaded for looking up entries not found in immediate locale file