wt.tools.resource
Class SerializedResourceBuilder

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

public class SerializedResourceBuilder
extends Object
implements ResourceBuilder



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private  String extendClass
           
private static String RESOURCE
           
 
Fields inherited from interface wt.tools.resource.ResourceBuilder
ALLOW_EMPTY_BUNDLE
 
Constructor Summary
SerializedResourceBuilder()
           
 
Method Summary
 void buildResource(Dictionary keyValues, Dictionary constants, String name, Locale locale)
          Use this ResourceInfo to build a resource, which can be used at run-time, for resource value lookups.
 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
Constructor Detail

SerializedResourceBuilder

public SerializedResourceBuilder()
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
Use this ResourceInfo to build a resource, which can be used at run-time, for resource value lookups. Example Bundle file names: C:\Windchill\codebase\wt\project\Role.RB.ser C:\Windchill\codebase\wt\project\Role_fr.RB.ser

Supported API: false

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

getFileExtension

public String getFileExtension()


Supported API: false

Specified by:
getFileExtension in interface ResourceBuilder
Returns:
String

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