question: protected Resources fetchResourceFile ( ) { try { if ( resourceFile != null ) { return resourceFile ; } String p = getResourceFilePath ( ) ; if ( p . indexOf ( '.' ) > - 1 ) { return Resources . open ( p ) ; } Resources res = Resources . openLayered ( p ) ; if ( isKeepResourcesInRam ( ) ) { resourceFile = res ; } return res ; } catch ( IOException ex ) { ex . printStackTrace ( ) ; return null ; } }
target:  This method may be overriden by subclasses to provide a way to dynamically load a resource file. Normally the navigation feature of the UIBuilder requires the resource file present in RAM. However, that might be expensive to maintain. By implementing this method and replacing the storeResourceFile() with an empty implementation the resource file storage can be done strictly in RAM.