Class PavingInventory

java.lang.Object
fr.univ_eiffel.legotools.scripts.PavingInventory

public class PavingInventory extends Object
Script utilitaire générant une "Liste de courses".
  • Method Details

    • main

      public static void main(String[] args)
      Point d'entrée.
      Parameters:
      args - Arguments CLI (0: fichier entrée).
    • createInventory

      public static int createInventory(String inputPath, String outputPath) throws IOException
      Génère un fichier d'inventaire.
      Parameters:
      inputPath - Le fichier de pavage brut.
      outputPath - Le fichier de destination.
      Returns:
      Le nombre total de briques.
      Throws:
      IOException - Si les fichiers ne sont pas accessibles.