org.fusesource.fabric.stream.log
Class Support

java.lang.Object
  extended by org.fusesource.fabric.stream.log.Support

public class Support
extends java.lang.Object

Author:
Hiram Chirino

Constructor Summary
Support()
           
 
Method Summary
static byte[] compress(byte[] data)
           
static void displayResourceFile(java.lang.String name)
           
static int lastnlposition(byte[] data, int len)
           
static java.lang.String readText(java.io.File file)
           
static void writeText(java.io.File file, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Support

public Support()
Method Detail

displayResourceFile

public static void displayResourceFile(java.lang.String name)

writeText

public static void writeText(java.io.File file,
                             java.lang.String value)
                      throws java.io.IOException
Throws:
java.io.IOException

readText

public static java.lang.String readText(java.io.File file)
                                 throws java.io.IOException
Throws:
java.io.IOException

lastnlposition

public static int lastnlposition(byte[] data,
                                 int len)

compress

public static byte[] compress(byte[] data)


Copyright © 2014 Red Hat. All Rights Reserved.