net.chaosserver.bilbo.task.generate
Interface Formatter

All Known Implementing Classes:
DirectoryFormatter, JolietFormatter, OriginalFormatter

public interface Formatter

Formatter to generate reformat a filename.

Since:
Bilbo 2.0

Method Summary
 String format(Directory directory, File file)
          Formats the name of the file.
 

Method Detail

format

public String format(Directory directory,
                     File file)
              throws FormatException
Formats the name of the file.

Parameters:
directory - the directory the file mapping will be placed in
file - the file to create a formatted name for
Returns:
the formatted name
Throws:
FormatException - if something goes wrong during format


Copyright © 20030415