org.openjena.atlas.io
Class OutputUtils

java.lang.Object
  extended by org.openjena.atlas.io.OutputUtils

public class OutputUtils
extends Object


Constructor Summary
OutputUtils()
           
 
Method Summary
static int oneHex(StringBuilder out, int x, int i)
          Print one hex digit of the number
static int oneHex(Writer out, int x, int i)
          Print one hex digit of the numer
static void printHex(StringBuilder out, int x, int width)
          Print the number x in width hex chars.
static void printHex(Writer out, int x, int width)
          Print the number x in width hex chars.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputUtils

public OutputUtils()
Method Detail

printHex

public static void printHex(StringBuilder out,
                            int x,
                            int width)
Print the number x in width hex chars. x must fit


oneHex

public static int oneHex(StringBuilder out,
                         int x,
                         int i)
Print one hex digit of the number


printHex

public static void printHex(Writer out,
                            int x,
                            int width)
Print the number x in width hex chars. x must fit


oneHex

public static int oneHex(Writer out,
                         int x,
                         int i)
Print one hex digit of the numer



Licenced under the Apache License, Version 2.0