TV-Browser 3.3.3 API

util.ui
Class LocalizerClassloader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by util.ui.LocalizerClassloader

public class LocalizerClassloader
extends java.lang.ClassLoader

This is a special Classloader for the Translation-Files. It checks for Resources in 3 Locations: 1. HOME-Dir/lang/ 2. TV-Browser-Dir/lang/ 3. Jar of the Class

Since:
2.5
Author:
bodum

Constructor Summary
LocalizerClassloader(java.lang.ClassLoader parent)
          Create Localizer-Classloader
 
Method Summary
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizerClassloader

public LocalizerClassloader(java.lang.ClassLoader parent)
Create Localizer-Classloader

Parameters:
parent - Fallback-Classloader
Method Detail

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String name)
Overrides:
getResourceAsStream in class java.lang.ClassLoader

TV-Browser 3.3.3 API

TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)