Class Formatter

java.lang.Object
scrapper.fileCreator.Formatter

public class Formatter extends Object
Puts an ITEM tag infront of each item for ease of reading and formats every item.
Formats each item to fit the reading format

Order of methods run: formatFile -> setCurrentType -> formattedItem

Simply call the constructor to run this class.
See Also:
  • Constructor Details

    • Formatter

      public Formatter(String file)
      Default constructor, should be the only one needed.
      Parameters:
      file - File to run on.