Class Std

java.lang.Object
org.javarosa.core.io.Std

@Deprecated
public class Std
extends Object
Deprecated.
Use LoggerFactory.getLogger(Class) instead
Warning: This class is unused and should remain that way. It will be removed in a future release. Used to break dependency directly on System.out and System.err.
  • Field Details

  • Constructor Details

    • Std

      public Std()
      Deprecated.
  • Method Details

    • setOut

      public static void setOut​(PrintStream out)
      Deprecated.
      Use LoggerFactory.getLogger(Class) instead
      Use this to replace stdout in case anything more than assignment is necessary in the future.
      Parameters:
      out -
    • setErr

      public static void setErr​(PrintStream err)
      Deprecated.
      Use LoggerFactory.getLogger(Class) instead
      Use this to replace stderr in case anything more than assignment is necessary in the future.
      Parameters:
      err -
    • printStack

      public static void printStack​(Throwable t)
      Deprecated.
      Use Logger.error(String, Throwable) instead