net.chaosserver.bilbo.task.generate.original
Class OriginalFormatter
java.lang.Object
|
+--net.chaosserver.bilbo.task.generate.original.OriginalFormatter
- All Implemented Interfaces:
- Formatter
- public class OriginalFormatter
- extends Object
- implements Formatter
Basic formatter. Returns only the current name of the file without any
additional processing.
- Since:
- Bilbo 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OriginalFormatter
public OriginalFormatter()
- Default constructor.
format
public String format(Directory directory,
File file)
- Formats the file by returning the current name.
- Specified by:
format
in interface Formatter
- Parameters:
directory
- the directory the file is infile
- the file to format the name for
- Returns:
- the current name of the file
Copyright © 20030415