Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.util
Class FileClassLoader  view FileClassLoader download FileClassLoader.java

java.lang.Object
  extended byjava.lang.ClassLoader
      extended bycom.flexstor.common.util.FlexClassLoader
          extended bycom.flexstor.common.util.FileClassLoader

public class FileClassLoader
extends FlexClassLoader

Loads class bytes from a file.


Nested Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
private  java.lang.String sFilePrefix
           
 
Fields inherited from class com.flexstor.common.util.FlexClassLoader
bForcedLoad
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
FileClassLoader(java.lang.String sFilePrefix)
          Attempts to load from a local file using the relative "filePrefix", ie starting at the current directory.
 
Method Summary
protected  byte[] loadClassBytes(java.lang.String sClassName)
           
 
Methods inherited from class com.flexstor.common.util.FlexClassLoader
formatClassName, loadClass, loadClass, setClassNameReplacementChar, setForcedLoad
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sFilePrefix

private java.lang.String sFilePrefix
Constructor Detail

FileClassLoader

public FileClassLoader(java.lang.String sFilePrefix)
Attempts to load from a local file using the relative "filePrefix", ie starting at the current directory. For example

Method Detail

loadClassBytes

protected byte[] loadClassBytes(java.lang.String sClassName)
                         throws java.io.IOException
Specified by:
loadClassBytes in class FlexClassLoader