de.ls5.jlearn.util
Class ObjectUtil

java.lang.Object
  extended by de.ls5.jlearn.util.ObjectUtil

public class ObjectUtil
extends Object

Author:
merten

Constructor Summary
ObjectUtil()
           
 
Method Summary
static Object cloneObject(Object o)
           
static byte[] compressObject(Object o)
           
static Object loadObjectFromFile(File f)
           
static void main(String[] args)
           
static void saveObjectToFile(Object o, File f)
           
static Object uncompressObject(byte[] compressed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtil

public ObjectUtil()
Method Detail

cloneObject

public static Object cloneObject(Object o)

saveObjectToFile

public static void saveObjectToFile(Object o,
                                    File f)

loadObjectFromFile

public static Object loadObjectFromFile(File f)

compressObject

public static byte[] compressObject(Object o)

uncompressObject

public static Object uncompressObject(byte[] compressed)

main

public static void main(String[] args)


Copyright © 2011. All Rights Reserved.