|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.url.dir.internal.FileTailImpl
public class FileTailImpl
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.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
logger
|
Constructor Summary | |
---|---|
FileTailImpl(File topLevelDir,
String tailExpr)
|
Method Summary | |
---|---|
protected File |
findParentOfTail(File folder)
Tries to find the parent of tail in sub folders of folder parameter. |
File |
getParentOfTail()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log logger
Constructor Detail |
---|
public FileTailImpl(File topLevelDir, String tailExpr) throws IOException
topLevelDir
- an existing folder on the local filesystem. Must be readable.tailExpr
- a relative path to a file in any depth under topLevelDir.
IOException
- if a problem while crawling occurs.Method Detail |
---|
protected File findParentOfTail(File folder) throws IOException
folder
- local folder that is used as (current) root. Sub folders wll be crawled recursively.
IOException
- if a problem occures while crawling subfolders of *folder*public File getParentOfTail()
getParentOfTail
in interface FileTail
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |