Class DebugAndTest

java.lang.Object
JHamlConverter.DebugAndTest

public class DebugAndTest
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    DebugAndTest()  
  • Method Summary

    Modifier and Type Method Description
    static void debug​(java.lang.String message, java.io.FileWriter writer)
    Method used for debugging purposes
    static void TestPrint​(java.io.BufferedReader htmlreader)
    Method that reads the new file

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DebugAndTest

      public DebugAndTest()
  • Method Details

    • debug

      public static void debug​(java.lang.String message, java.io.FileWriter writer) throws java.io.IOException
      Method used for debugging purposes
      Parameters:
      message - - the to be displayed message
      writer - - FileWriter that will write the message inside the file
      Throws:
      java.io.IOException
    • TestPrint

      public static void TestPrint​(java.io.BufferedReader htmlreader) throws java.io.IOException
      Method that reads the new file
      Parameters:
      htmlreader - - reader that reads the file that is created after conversion
      Throws:
      java.io.IOException