org.oddjob.oddballs
Interface OddballFactory

All Known Implementing Classes:
DirectoryOddball

public interface OddballFactory

Abstraction of something that can create Oddballs.

Author:
rob

Method Summary
 Oddball createFrom(File file, ClassLoader parentLoader)
          Create an Oddball.
 

Method Detail

createFrom

Oddball createFrom(File file,
                   ClassLoader parentLoader)
Create an Oddball.

Parameters:
file - A File that a paticular factory may or may not be able to use.
parentLoader -
Returns:
An Oddball or null if the file can't be used by the implementing factory.