All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.epubcheck.util.outWriter Maven / Gradle / Ivy

Go to download

EPUBCheck is a tool to validate the conformance of EPUB publications against the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used as a Java library.

There is a newer version: 5.1.0
Show newest version
package com.adobe.epubcheck.util;

public class outWriter
{
  static boolean isQuiet = false;
  public outWriter(){}

  public static void setQuiet(boolean isQuiet)
  {
    outWriter.isQuiet = isQuiet;
  }

  public static boolean isQuiet()
  {
    return isQuiet;
  }

  public static void printf(String format, Object...args)
  {
    if (!isQuiet())
    {
      System.out.printf(format, args);
    }
  }
  public static void println(Object x)
  {
    if (!isQuiet())
    {
      System.out.println(x);
    }
  }
  public static void println(String x)
  {
    if (!isQuiet())
    {
      System.out.println(x);
    }
  }

  public static void println()
  {
    System.out.println();
  }

  public static void print(String s)
  {
    System.out.print(s);
  }

  public static void flush()
  {
    System.out.flush();
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy