Skip to content
Snippets Groups Projects
Select Git revision
  • cb3f656a4752f364653941230cb179d282e47734
  • master default protected
  • revert-d81c9d6d
3 results

ShapeWriter.java

Blame
  • Forked from MANSOUR Chadi / graphic-2020-TP5
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ShapeWriter.java 356 B
    package serializer;
    
    import shape.Shape;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.List;
    
    public class ShapeWriter {
        public static void write (File file, List<Shape> shapes) throws IOException {
            PrintWriter printWriter = new PrintWriter(file);
            printWriter.println("Coucou");
        }
    }