1 32 33 package com.jeantessier.classreader; 34 35 import java.io.*; 36 import java.util.*; 37 38 public class TransientClassfileLoader extends ClassfileLoaderEventSource { 39 public TransientClassfileLoader() { 40 super(); 41 } 42 43 public TransientClassfileLoader(ClassfileLoaderDispatcher dispatcher) { 44 super(dispatcher); 45 } 46 47 public Classfile getClassfile(String name) { 48 return null; 49 } 50 51 public Collection getAllClassfiles() { 52 return Collections.EMPTY_LIST; 53 } 54 55 public Collection getAllClassNames() { 56 return Collections.EMPTY_LIST; 57 } 58 59 protected Classfile load(DataInputStream in) throws IOException { 60 return new Classfile(this, in); 61 } 62 } 63 | Popular Tags |