public class EPCompiledIOUtil extends Object
EPCompiled
Modifier and Type | Field and Description |
---|---|
static String |
MANIFEST_COMPILER_VERSION
Name of the attribute providing the compiler version.
|
static String |
MANIFEST_MODULEPROVIDERCLASSNAME
Name of the attribute providing the module provider class name.
|
static String |
MANIFEST_QUERYPROVIDERCLASSNAME
Name of the attribute providing the fire-and-forget query provider class name.
|
static String |
MANIFEST_TARGETHA
Name of the attribute providing the flag whether the compiler targets high-availability.
|
Constructor and Description |
---|
EPCompiledIOUtil() |
Modifier and Type | Method and Description |
---|---|
static com.espertech.esper.common.client.EPCompiled |
read(File file)
Reads the jar file into an
EPCompiled compiled for deployment into a runtime. |
static void |
write(com.espertech.esper.common.client.EPCompiled compiled,
File file)
Write the compiled to a jar file.
|
public static final String MANIFEST_COMPILER_VERSION
public static final String MANIFEST_MODULEPROVIDERCLASSNAME
public static final String MANIFEST_QUERYPROVIDERCLASSNAME
public static final String MANIFEST_TARGETHA
public static void write(com.espertech.esper.common.client.EPCompiled compiled, File file) throws IOException
compiled
- compiledfile
- the target fileIOException
- when the write failedpublic static com.espertech.esper.common.client.EPCompiled read(File file) throws IOException
EPCompiled
compiled for deployment into a runtime.file
- is the source jar fileIOException
- when the read failedCopyright © 2005–2020. All rights reserved.