KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > persistence > sourcetestsupport > FakeJavaDataLoaderPool


1 package org.netbeans.modules.j2ee.persistence.sourcetestsupport;
2
3 import java.util.Enumeration JavaDoc;
4 import org.netbeans.modules.java.JavaDataLoader;
5 import org.openide.loaders.DataLoader;
6 import org.openide.loaders.DataLoaderPool;
7 import org.openide.util.Enumerations;
8
9
10
11 // Copied from org.netbeans.modules.j2ee.common.source
12
public class FakeJavaDataLoaderPool extends DataLoaderPool {
13     
14     public Enumeration JavaDoc<? extends DataLoader> loaders() {
15         return Enumerations.singleton(new JavaDataLoader());
16     }
17 }
Popular Tags