public class

ClassSourceFolder

extends Object
java.lang.Object
   ↳ org.ops4j.pax.exam.spi.intern.ClassSourceFolder

Class Overview

Recursively tries to find the exact "target/classes" folder of a given clazz. Pax Exam uses it to calculate

Summary

Public Methods
File find(Class clazz)
Protected Methods
File findParentOfTail(File folder, String tail)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public File find (Class clazz)

Parameters
clazz to find the root classes folder for.
Returns
  • A File instance being the exact folder on disk or null, if it hasn't been found under m_base. (see constructor)
Throws
IOException if a problem ocures (method crawls folders on disk..)

Protected Methods

protected File findParentOfTail (File folder, String tail)

Throws
IOException