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
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 infile
- the file to create a formatted name for
- Returns:
- the formatted name
- Throws:
FormatException
- if something goes wrong during format
Copyright © 20030415