public class DirectoryOddball extends java.lang.Object implements OddballFactory
OddballFactory
that creates an
Oddball
from a directory.
If the given file is not a directory no Oddball is created.
Constructor and Description |
---|
DirectoryOddball() |
Modifier and Type | Method and Description |
---|---|
Oddball |
createFrom(java.io.File file,
java.lang.ClassLoader parentLoader)
Create an Oddball.
|
public Oddball createFrom(java.io.File file, java.lang.ClassLoader parentLoader)
OddballFactory
createFrom
in interface OddballFactory
file
- A File that a particular factory may or
may not be able to use.