org.drools.compiler.kie.builder.impl
Class KieModuleCacheHelper
java.lang.Object
org.drools.compiler.kie.builder.impl.KieModuleCacheHelper
public class KieModuleCacheHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KieModuleCacheHelper
public KieModuleCacheHelper()
writeToStreamWithHeader
public static void writeToStreamWithHeader(OutputStream stream,
com.google.protobuf.Message payload)
throws IOException
- Throws:
IOException
readFromStreamWithHeaderPreloaded
public static KieModuleCache.Header readFromStreamWithHeaderPreloaded(InputStream stream,
com.google.protobuf.ExtensionRegistry registry)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
buildRegistry
public static com.google.protobuf.ExtensionRegistry buildRegistry()
intToByteArray
public static final byte[] intToByteArray(int value)
byteArrayToInt
public static final int byteArrayToInt(byte[] b)
longToByteArray
public static final byte[] longToByteArray(long value)
byteArrayToLong
public static final long byteArrayToLong(byte[] b)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.