com.espertech.esper.core.deploy
Class EPLModuleUtil
java.lang.Object
com.espertech.esper.core.deploy.EPLModuleUtil
public class EPLModuleUtil
- extends java.lang.Object
Field Summary |
static java.lang.String |
newline
Newline character. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newline
public static final java.lang.String newline
- Newline character.
EPLModuleUtil
public EPLModuleUtil()
readInternal
public static Module readInternal(java.io.InputStream stream,
java.lang.String resourceName)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException
parseInternal
public static Module parseInternal(java.lang.String buffer,
java.lang.String resourceName)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException
undeployTypes
public static java.util.List<EventType> undeployTypes(java.util.Set<java.lang.String> referencedTypes,
StatementEventTypeRef statementEventTypeRef,
EventAdapterService eventAdapterService,
FilterService filterService)
getModule
public static ParseNode getModule(EPLModuleParseItem item,
java.lang.String resourceName)
throws ParseException,
java.io.IOException
- Throws:
ParseException
java.io.IOException
parse
public static java.util.List<EPLModuleParseItem> parse(java.lang.String module)
throws ParseException
- Throws:
ParseException
readFile
public static Module readFile(java.io.File file)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException
readResource
public static Module readResource(java.lang.String resource)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException