Class GraphPrinter

java.lang.Object
org.brijframework.reflection.graph.GraphPrinter

public class GraphPrinter extends Object
  • Constructor Details

    • GraphPrinter

      public GraphPrinter()
  • Method Details

    • getPrinter

      public static GraphPrinter getPrinter(Object object)
      initialize object and get instance of this
      Parameters:
      object -
    • printToScreen

      public String printToScreen()
      Prints an Object to screen
      Parameters:
      a -
      Returns:
    • printObject

      public String printObject()
      Prints an Object to a file whose filename is passed to
      its containing object while instantiating it.
      Returns:
    • printObject

      public String printObject(Object a)
      Prints an Object to a file whose filename is passed to
      its containing object while instantiating it.
      Parameters:
      a -
      Returns:
    • formatDate

      public String formatDate(Object date)
    • validateString

      public boolean validateString(String aString)
      Verifies the string to check if it contains only valid chararacters As of now Validate Characters are : Any alphabet, '(', ')', ' '
      Parameters:
      aString -
      Returns:
      true | false
    • printToFile

      public Object printToFile(File file)
      Object map write to file
      Parameters:
      file -
      Returns:
      text
      Throws:
      Exception
    • printToFile

      public Object printToFile(String filePath)
      Object map write to file
      Parameters:
      file -
      Returns:
      text
      Throws:
      Exception