com.chaosserver.bilbo.task.generate.original
Class OriginalFormatter

java.lang.Object
  |
  +--com.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

Constructor Summary
OriginalFormatter()
          Default constructor.
 
Method Summary
 String format(Directory directory, File file)
          Formats the file by returning the current name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OriginalFormatter

public OriginalFormatter()
Default constructor.

Method Detail

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 in
file - the file to format the name for
Returns:
the current name of the file


Copyright © 20020228