public class DirectoryOddball extends 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() |
public Oddball createFrom(File file, ClassLoader parentLoader)
OddballFactory
createFrom
in interface OddballFactory
file
- A File that a paticular factory may or
may not be able to use.