org.ops4j.pax.drone.spi.util
Class IntelliResourceFinder

java.lang.Object
  extended by org.ops4j.pax.drone.spi.util.IntelliResourceFinder
All Implemented Interfaces:
ResourceLocator

public class IntelliResourceFinder
extends java.lang.Object
implements ResourceLocator

User: Toni Menzel (tonit) Date: May 30, 2008

Finds resources of the current module under test just by given top-level parent (whatever that is) and name of the class under test using a narrowing approach.


Constructor Summary
IntelliResourceFinder(java.io.File topLevelDir, java.lang.String targetClassName)
           
 
Method Summary
 void write(java.util.jar.JarOutputStream target)
          This locates the top level resource folders for the current component TODO: make file separator matching cross platform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntelliResourceFinder

public IntelliResourceFinder(java.io.File topLevelDir,
                             java.lang.String targetClassName)
Method Detail

write

public void write(java.util.jar.JarOutputStream target)
This locates the top level resource folders for the current component TODO: make file separator matching cross platform

Specified by:
write in interface ResourceLocator
Parameters:
target - to write to


Copyright © 2008. All Rights Reserved.