Class com.symantec.itools.swing.DateMaskResourceLoader
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.swing.DateMaskResourceLoader

Object
   |
   +----com.symantec.itools.swing.DateMaskResourceLoader

public final class DateMaskResourceLoader
extends Object

This class loads the Resource.

It implements the Singleton Design Pattern.

Version:
1.0
Author:
Symantec
See Also:
ResourceBundle, ListResourceBundle

Method Index

 o getBundle()
This method is the same as: java.util.ResourceBundle.getBundle("com.symantec.itools.swing.DateMaskResourceBundle")) Unfortunately we cannot override getBundle() - it is final.
 o getInstance()
 o main(String[])

Methods

 o getBundle
public java.util.ResourceBundle getBundle()
This method is the same as: java.util.ResourceBundle.getBundle("com.symantec.itools.swing.DateMaskResourceBundle")) Unfortunately we cannot override getBundle() - it is final. Everywhere where you need to load Resource use this: DateMaskResourceLoader.getBundle() It prevents from loading the same resource file multiple times. The usage of the resource remains the same: MyResource.getString() - MyResource is the reference that is in your code

 o getInstance
public static synchronized com.symantec.itools.swing.DateMaskResourceLoader getInstance()
 o main
public static void main(String[] args)

All Packages  Class Hierarchy  This Package  Previous  Next  Index