java.lang.Object
com.jackmeng.halcyoninae.halcyon.runtime.Program

public class Program extends Object
Provides a concurrent logging system for the program instead of using Debugger, which is meant for debugging during initial development.
Since:
3.1
Author:
Jack Meng
  • Field Details

  • Constructor Details

    • Program

      public Program()
  • Method Details

    • println

      private static void println(String e)
      Different from Debugger's log method, this method is meant for printing out messages to the console, however can only print out a string.

      Asynchronous println t the console.

      Parameters:
      e - A string
    • createDump

      public static void createDump(Object... content)
      Writes a dump file to the bin folder.

      This is not a serialization byte stream!!!

      This method is typically used for debugging and coverage telemetry stuffs (idk :/).

      Parameters:
      content - The Objects to dump or content.
    • forceSaveUserConf

      public static void forceSaveUserConf()
    • fetchLikedTracks

      public static File[] fetchLikedTracks()
      Returns:
      File[] Returns all of the liked tracks.
    • fetchSavedPlayLists

      public static PhysicalFolder[] fetchSavedPlayLists()
      Returns:
      FolderInfo[] Returns all concurrently stored playlists in the running instance.
    • main

      public static void main(String... args)
      This main function runs the daemon for system logging

      This is provided under an executor service that runs async to the main thread in order to log everything made by the the program.

      This async mechanism is called natively.

      Parameters:
      args - Initial items to log
    • localize

      public static void localize()
      Localization Method